Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcMemberLength type exposes the following members.
Initializes a new instance of the OpcMemberLength class which defines the total number of bytes or the number of instances of the type referenced by a member using the value
specified. Using this constructor results in a OpcMemberLength which provides the length direct using the value
as the length.
C#
public OpcMemberLength(long value)
Parameters
value
Int64
The total number of bytes or the number of instances.
Exceptions
The value
is less than 0 or greater than MaxValue.
Initializes a new instance of the OpcMemberLength class which refers to the length member using its name
specified. Using this constructor results in a OpcMemberLength which provides the length indirect using a different member using its name
.
C#
public OpcMemberLength(string name)
Parameters
name
String
The name of the length member its value indicates the number of bytes or the number of instances of the type referenced by the member.
Exceptions
The name
is equals Empty.
The name
is a null reference (Nothing in Visual Basic).
Returns a String representing the information used by the current OpcMemberLength.
C#
public override string ToString()
Returns
A String representing the current OpcMemberLength.