IFormatterConverter.ToUInt16(Object) Method

Definition

Important

This API is not CLS-compliant.

Converts a value to a 16-bit unsigned integer.

public:
 System::UInt16 ToUInt16(System::Object ^ value);
[System.CLSCompliant(false)]
public ushort ToUInt16 (object value);
public ushort ToUInt16 (object value);
abstract member ToUInt16 : obj -> uint16
Public Function ToUInt16 (value As Object) As UShort

Parameters

value
Object

The object to be converted.

Returns

The converted value.

Attributes

Applies to