ToInt16()

IConvertible::ToInt16(System::SharedPtr<System::IFormatProvider>) method

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

virtual int16_t System::IConvertible::ToInt16(System::SharedPtr<System::IFormatProvider> provider)=0

Arguments

ParameterTypeDescription
providerSystem::SharedPtr<System::IFormatProvider>A System::IFormatProvider interface implementation that supplies culture-specific formatting information.

Return Value

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

See Also