IFormatterConverter.ToUInt16(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.