แก้ไข

แชร์ผ่าน


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);
public ushort ToUInt16 (object value);
[System.CLSCompliant(false)]
public ushort ToUInt16 (object value);
abstract member ToUInt16 : obj -> uint16
[<System.CLSCompliant(false)>]
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