แก้ไข

แชร์ผ่าน


DateTime.IConvertible.ToSByte(IFormatProvider) Method

Definition

Important

This API is not CLS-compliant.

This conversion is not supported. Attempting to use this method throws an InvalidCastException.

 virtual System::SByte System.IConvertible.ToSByte(IFormatProvider ^ provider) = IConvertible::ToSByte;
sbyte IConvertible.ToSByte (IFormatProvider provider);
[System.CLSCompliant(false)]
sbyte IConvertible.ToSByte (IFormatProvider provider);
abstract member System.IConvertible.ToSByte : IFormatProvider -> sbyte
override this.System.IConvertible.ToSByte : IFormatProvider -> sbyte
[<System.CLSCompliant(false)>]
abstract member System.IConvertible.ToSByte : IFormatProvider -> sbyte
override this.System.IConvertible.ToSByte : IFormatProvider -> sbyte
Function ToSByte (provider As IFormatProvider) As SByte Implements IConvertible.ToSByte

Parameters

provider
IFormatProvider

An object that implements the IFormatProvider interface. (This parameter is not used; specify null.)

Returns

The return value for this member is not used.

Implements

Attributes

Exceptions

In all cases.

Applies to