Click or drag to resize

LayoutMessageGetLong Method (String)

Returns the long value of the field identified by name.

Namespace:  OBCOM.NetSwitchLib.Layouts
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public Nullable<long> GetLong(
	string name
)

Parameters

name
Type: SystemString
The name of the field.

Return Value

Type: NullableInt64
The long value of the field identified by name.
Exceptions
ExceptionCondition
InvalidOperationException If this LayoutMessage has no Layout, or if the required field is not defined in the Layout of this LayoutMessage.
Remarks
If the value of the field is NULL it returns null (see IsNull for more details).
See Also