Visavi Visual OPC .NET  

IOpcItemPropertyCollection.Error Property

Gets the error that was returned in retrieving the property collection.

[Visual Basic]
Public Property Error As OpcHResult
[C#]
public OpcHResult Error {get;}
[C++]
public: __property OpcHResult get_Error();
[JScript]
public function get Error() : OpcHResult;

Property Value

The error retrieved when getting the property collection.

Remarks

Valid codes for the Error property are shown below:

OpcHResult.OK

The IOpcItemPropertyCollection was retrieved with no errors.

OpcHResult.False Failed to retrieve one of the properties, check the IOpcItemProperty.Error value to see if the individual property was successfully retrieved.
OpcHResult.OpcInvalidItemID The item name does not conform to the server's syntax.
OpcHResult.UnknownItemID The item is not known in the server's address space.

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

See Also

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