System::IConvertible::ToUInt16 method

IConvertible::ToUInt16 method

Converts the value of this instance to an equivalent 16-bit uint32_teger using the specified culture-specific formatting information.

virtual uint16_t System::IConvertible::ToUInt16(System::SharedPtr<System::IFormatProvider> provider)=0
ParameterTypeDescription
providerSystem::SharedPtr<System::IFormatProvider>A System::IFormatProvider interface implementation that supplies culture-specific formatting information.

ReturnValue

A 16-bit unsigned integer value equivalent to the value of this instance.

See Also