SynSoft .NET Libraries (release 3rd July 2003)

TypeCaster.short_cast Method (Object, Boolean)

Casts to a short

[Visual Basic]
Overloads Public Shared Function short_cast( _
   ByVal v As Object, _
   ByVal bAcceptUnsigned As Boolean _
) As Short
[C#]
public static short short_cast(
   object v,
   bool bAcceptUnsigned
);

Parameters

v
The value to cast from
bAcceptUnsigned
Determines whether conversion from unsigned types will be attempted

Return Value

See Also

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