IFormatterConverter.ToByte(Object) 方法

定義

將值轉換為 8 位元的不帶正負號整數 (Unsigned Integer)。Converts a value to an 8-bit unsigned integer.

public:
 System::Byte ToByte(System::Object ^ value);
public byte ToByte (object value);
abstract member ToByte : obj -> byte
Public Function ToByte (value As Object) As Byte

參數

value
Object

要轉換的物件。The object to be converted.

傳回

已轉換的 valueThe converted value.

適用於