Visavi Visual OPC .NET  

IOpcItemAttributes.Enumerations Property

Gets the Enumeration strings for the IOpcItem.

[Visual Basic]
Public Property Enumerations As String ()

[C#]
public string [] Enumerations {get;}

[C++]
public: __property String * get_Enumerations();

[JScript]
public function get Enumerations() : String[];

Property Value

String array representing the 0 indexed enumerated strings of the IOpcItem.

Exceptions

Exception Type Condition
COMException A call to one of the IOPCEnumItemAttributes methodsto the OPC Server failed with the error specified in the COMException.ErrorCode.

Remarks

For this property to be valid, the EUType property must have a value of EUType.Enumerated. An example of an enumerated value could be {"Open", "Close", "In Transit"} representing the numeric values of {0, 1, 2}.

Platforms: Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

IOpcItemAttributes Interface | IOpcItemAttributes Members | Visavi.Opc.Client Namespace