匯出 (0) 列印
全部展開
EN
本內容沒有您的語言版本,但有英文版本。

DateTime.IConvertible.ToSByte Method

July 28, 2014

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

sbyte IConvertible.ToSByte(
	IFormatProvider provider
)

Parameters

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

Return Value

Type: System.SByte
The return value for this member is not used.

Implements

IConvertible.ToSByte(IFormatProvider)

ExceptionCondition
InvalidCastException

In all cases.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Microsoft 正展開一份線上問卷調查,了解您對於 MSDN 網站的看法。 如果您選擇參加,您離開 MSDN 網站時即會顯示線上問卷調查。

您是否想要參加?
顯示:
© 2014 Microsoft