SByte.IConvertible.ToType(Type, IFormatProvider) SByte.IConvertible.ToType(Type, IFormatProvider) Method

Definition

For a description of this member, see ToType(Type, IFormatProvider).

 virtual System::Object ^ System.IConvertible.ToType(Type ^ type, IFormatProvider ^ provider) = IConvertible::ToType;
object IConvertible.ToType (Type type, IFormatProvider provider);

Parameters

type
Type Type

The Type to which to convert this SByte value.

provider
IFormatProvider IFormatProvider

A IFormatProvider implementation that provides information about the format of the returned value.

Returns

The value of the current instance, converted to an object of type type.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the SByte instance is cast to an IConvertible interface. The recommended alternative is to call the static (Shared in Visual Basic) Convert.ChangeType method.

Applies to