IFormatterConverter.ToBoolean(Object) IFormatterConverter.ToBoolean(Object) IFormatterConverter.ToBoolean(Object) IFormatterConverter.ToBoolean(Object) Method

定義

將值轉換成 BooleanConverts a value to a Boolean.

public:
 bool ToBoolean(System::Object ^ value);
public bool ToBoolean (object value);
abstract member ToBoolean : obj -> bool
Public Function ToBoolean (value As Object) As Boolean

參數

value
Object Object Object Object

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

傳回

已轉換的 valueThe converted value.

適用於