QuickOPC User's Guide and Reference
UAEnumField Class
Members 



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeSchema Namespace : UAEnumField Class
Provides metadata for a field of a custom OPC UA enumeration or option set data type.
Syntax
'Declaration
 
<CLSCompliantAttribute(True)>
<ComDefaultInterfaceAttribute(OpcLabs.EasyOpc.UA.DataTypeSchema.ComTypes._UAEnumField)>
<ComVisibleAttribute(True)>
<GuidAttribute("A70C95DD-A5C4-4516-8F01-3CA835AC27F5")>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
<ValueControlAttribute("OpcLabs.BaseLib.Forms.Common.ObjectSerializationControl, OpcLabs.BaseLibForms, Version=5.72.465.1, Culture=neutral, PublicKeyToken=6faddca41dacb409", 
   DefaultReadWrite=False, 
   Export=True, 
   PageId=10001)>
<SerializableAttribute()>
Public Class UAEnumField 
   Inherits UAEnumValue
   Implements LINQPad.ICustomMemberProvider, OpcLabs.BaseLib.ComTypes._Info, OpcLabs.BaseLib.ComTypes._Object2, OpcLabs.EasyOpc.UA.DataTypeSchema.ComTypes._UAEnumField, OpcLabs.EasyOpc.UA.DataTypeSchema.ComTypes._UAEnumValue, System.ICloneable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable 
'Usage
 
Dim instance As UAEnumField
[CLSCompliant(true)]
[ComDefaultInterface(OpcLabs.EasyOpc.UA.DataTypeSchema.ComTypes._UAEnumField)]
[ComVisible(true)]
[Guid("A70C95DD-A5C4-4516-8F01-3CA835AC27F5")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[ValueControl("OpcLabs.BaseLib.Forms.Common.ObjectSerializationControl, OpcLabs.BaseLibForms, Version=5.72.465.1, Culture=neutral, PublicKeyToken=6faddca41dacb409", 
   DefaultReadWrite=false, 
   Export=true, 
   PageId=10001)]
[Serializable()]
public class UAEnumField : UAEnumValue, LINQPad.ICustomMemberProvider, OpcLabs.BaseLib.ComTypes._Info, OpcLabs.BaseLib.ComTypes._Object2, OpcLabs.EasyOpc.UA.DataTypeSchema.ComTypes._UAEnumField, OpcLabs.EasyOpc.UA.DataTypeSchema.ComTypes._UAEnumValue, System.ICloneable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable  
[CLSCompliant(true)]
[ComDefaultInterface(OpcLabs.EasyOpc.UA.DataTypeSchema.ComTypes._UAEnumField)]
[ComVisible(true)]
[Guid("A70C95DD-A5C4-4516-8F01-3CA835AC27F5")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[ValueControl("OpcLabs.BaseLib.Forms.Common.ObjectSerializationControl, OpcLabs.BaseLibForms, Version=5.72.465.1, Culture=neutral, PublicKeyToken=6faddca41dacb409", 
   DefaultReadWrite=false, 
   Export=true, 
   PageId=10001)]
[Serializable()]
public ref class UAEnumField : public UAEnumValue, LINQPad.ICustomMemberProvider, OpcLabs.BaseLib.ComTypes._Info, OpcLabs.BaseLib.ComTypes._Object2, OpcLabs.EasyOpc.UA.DataTypeSchema.ComTypes._UAEnumField, OpcLabs.EasyOpc.UA.DataTypeSchema.ComTypes._UAEnumValue, System.ICloneable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable  
Remarks

If used for an option set, the corresponding Value in the base UAEnumValue contains the number of the bit associated with the field.

Inheritance Hierarchy

System.Object
   OpcLabs.BaseLib.Object2
      OpcLabs.BaseLib.Info
         OpcLabs.EasyOpc.UA.DataTypeSchema.UAEnumValue
            OpcLabs.EasyOpc.UA.DataTypeSchema.UAEnumField

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also