Reference
OpcNodeTypeMemberAttribute Class
Declares a field or property of a custom node 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
OpcNodeTypeMemberAttribute Class
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcNodeTypeMemberAttribute Members
Declares a field or property of a custom node 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. By default the Name and the Type are determined by the Name and the FieldType or PropertyType. In case there a different name or a different Type is to be used for a member use this attribute to declare them. 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. Additionally its possible to derive from OpcData and use IOpcDataStore instances with properties to implement custom data convertion.
Syntax
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public class OpcNodeTypeMemberAttribute : Attribute<AttributeUsage(AttributeTargets.Method Or AttributeTargets.Property Or AttributeTargets.Field, AllowMultiple:=False, Inherited:=False)>
Public Class OpcNodeTypeMemberAttribute
Inherits AttributeInheritance
Object → Attribute → OpcNodeTypeMemberAttribute
Constructors
| Name | Description |
|---|---|
| Opc | Initializes a new instance of the Opc |
Properties
| Name | Description |
|---|---|
| Description | Gets or sets a human readable text that describes the member. |
| Name | Gets the alternative name to use for the member this attribute belongs to. |
| Type | Gets or sets the alternative Type to use for the member this attribute belongs to. |
Inherits members from Attribute.
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

