ערוך

שתף באמצעות


Enum.IConvertible.ToUInt16(IFormatProvider) Method

Definition

Important

This API is not CLS-compliant.

Converts the current value to a 16-bit unsigned integer based on the underlying type.

 virtual System::UInt16 System.IConvertible.ToUInt16(IFormatProvider ^ provider) = IConvertible::ToUInt16;
ushort IConvertible.ToUInt16 (IFormatProvider provider);
[System.CLSCompliant(false)]
ushort IConvertible.ToUInt16 (IFormatProvider provider);
abstract member System.IConvertible.ToUInt16 : IFormatProvider -> uint16
override this.System.IConvertible.ToUInt16 : IFormatProvider -> uint16
[<System.CLSCompliant(false)>]
abstract member System.IConvertible.ToUInt16 : IFormatProvider -> uint16
override this.System.IConvertible.ToUInt16 : IFormatProvider -> uint16
Function ToUInt16 (provider As IFormatProvider) As UShort Implements IConvertible.ToUInt16

Parameters

provider
IFormatProvider

An object that supplies culture-specific formatting information.

Returns

The converted value.

Implements

Attributes

Remarks

Uses Convert to perform the conversion.

Applies to