Export (0) Print
Expand All

Conversions.ToUShort Method (Object)

Converts an object to a Ushort value.

This API is not CLS-compliant. The CLS-compliant alternative is ToShort(Object).

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

[CLSCompliantAttribute(false)]
public static ushort ToUShort(
	Object Value
)

Parameters

Value
Type: System.Object
The object to convert.

Return Value

Type: System.UInt16
The Ushort value of the object.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft