Freigeben über


IFormatterConverter.ToInt32-Methode

Konvertiert einen Wert in eine 32-Bit-Ganzzahl mit Vorzeichen.

Diese Methode ist nicht CLS-kompatibel.  

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

Syntax

'Declaration
Function ToInt32 ( _
    value As Object _
) As Integer
'Usage
Dim instance As IFormatterConverter
Dim value As Object
Dim returnValue As Integer

returnValue = instance.ToInt32(value)
int ToInt32 (
    Object value
)
int ToInt32 (
    Object^ value
)
int ToInt32 (
    Object value
)
function ToInt32 (
    value : Object
) : int

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