Reference
OpcDataTypeMemberAttribute Members
Declares a field or property of a custom data type, to that the member belongs on that this attribute is applied, with different Name and Type information to use when reading and writing the member.
Reference
OpcDataTypeMemberAttribute Members
- Type
- OpcDataTypeMemberAttribute
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Inherits members from Attribute.
Constructors
OpcDataTypeMemberAttribute
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opc |
| Opc | Initializes a new instance of the Opcname specified for the member on that the Opc |
OpcDataTypeMemberAttribute()
Initializes a new instance of the OpcDataTypeMemberAttribute class. Use this constructor in case you want to explicitly declare that the default Type and default Name of a data type member is used.
public OpcDataTypeMemberAttribute()Public Sub New()OpcDataTypeMemberAttribute(string)
Initializes a new instance of the OpcDataTypeMemberAttribute class using an alternative name specified for the member on that the OpcDataTypeMemberAttribute has been declared.
public OpcDataTypeMemberAttribute(string name)Public Sub New(name As String)Parameters
| Name | Type | Description |
|---|---|---|
name | String | The alternative name to use for the member. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is an empty string. |
| Argument | The name is a null reference ( |
Properties
Description
Gets or sets a human readable text that describes the member.
public string Description { get; set; }Public Property Description As StringProperty value
A value which captures any semantic information that whould help a human to unterstand what is contained in the member.
Name
Gets the alternative name to use for the member this attribute belongs to.
public string Name { get; }Public ReadOnly Property Name As StringProperty value
The alternative name to use for the member or a null reference (Nothing in Visual Basic) in case there is no alternative name for the member declared an its Name shall be used.
Type
Gets or sets the alternative Type to use for the member this attribute belongs to. Keep in mind to declare only different types which implement IConvertible supporting the Type specified; otherwise declare the desired type directly instead of using this attribute.
public Type Type { get; set; }Public Property Type As TypeProperty value
The Type to use for the member or a null reference (Nothing in Visual Basic) in case there is no alternative Type for the member declared and its FieldType or PropertyType shall be used.

