Visavi Visual OPC .NET  

IOpcItemAttributes.ClientHandle Property

Gets or sets a the ClientHandle of the IOpcItem.

[Visual Basic]
Public Property ClientHandle As Integer

[C#]
public int ClientHandle {get;}

[C++]
public: __property int get_ClientHandle();

[JScript]
public function get ClientHandle() : int;

Property Value

Gets an integer representing the  ClientHandle 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

In the Visual OPC Library, the client handle matches it's index in the containing IOpcItemCollection.

For more information on the OPC Item Handles, refer to the Item Handles excerpt from the OPC DA Specification.

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