Click or drag to resize

MessageGetObjectT Method (String)

Returns the object value of the property indexed by name.

Namespace:  OBCOM.NetSwitchLib.Messages
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public T GetObject<T>(
	string name
)

Parameters

name
Type: SystemString
The name of the required property.

Type Parameters

T
The type of the returned object.

Return Value

Type: T
The object value of the property indexed by name.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is null.
InvalidCastException The object value is not of type T.
See Also