SynSoft .NET Libraries (release 3rd July 2003)

TypeCaster.ushort_cast Method (Object, Boolean)

Casts to a ushort

[Visual Basic]
Overloads Public Shared Function ushort_cast( _
   ByVal v As Object, _
   ByVal bAcceptSigned As Boolean _
) As UInt16
[C#]
public static ushort ushort_cast(
   object v,
   bool bAcceptSigned
);

Parameters

v
The value to cast from
bAcceptSigned
Determines whether conversion from signed types will be attempted

Return Value

See Also

TypeCaster Class | TypeCaster Members | SynSoft.Conversion Namespace | TypeCaster.ushort_cast Overload List