Click or drag to resize

NativeBinaryValueConvertToType Method

Returns a NativeBinaryValue representation of source value converted to specified TypeCode.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public NativeBinaryValue ConvertToType(
	TypeCode typeCode
)
View Source

Parameters

typeCode  TypeCode
Desired TypeCode for destination value.

Return Value

NativeBinaryValue
A NativeBinaryValue representation of source value converted to specified TypeCode.
Exceptions
ExceptionCondition
InvalidOperationExceptionUnable to convert binary value to specified type.
See Also