Freigeben über


IFormatterConverter.ToBoolean-Methode

Konvertiert einen Wert in einen Boolean.

Diese Methode ist nicht CLS-kompatibel.  

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

Syntax

'Declaration
Function ToBoolean ( _
    value As Object _
) As Boolean
'Usage
Dim instance As IFormatterConverter
Dim value As Object
Dim returnValue As Boolean

returnValue = instance.ToBoolean(value)
bool ToBoolean (
    Object value
)
bool ToBoolean (
    Object^ value
)
boolean ToBoolean (
    Object value
)
function ToBoolean (
    value : Object
) : boolean

Parameter

  • value
    Das zu konvertierende Objekt.

Rückgabewert

Der konvertierte value.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

IFormatterConverter-Schnittstelle
IFormatterConverter-Member
System.Runtime.Serialization-Namespace