IFormatterConverter.ToDecimal-Methode
Konvertiert einen Wert in ein Decimal.
Diese Methode ist nicht CLS-kompatibel.
Namespace: System.Runtime.Serialization
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Function ToDecimal ( _
value As Object _
) As Decimal
'Usage
Dim instance As IFormatterConverter
Dim value As Object
Dim returnValue As Decimal
returnValue = instance.ToDecimal(value)
decimal ToDecimal (
Object value
)
Decimal ToDecimal (
Object^ value
)
Decimal ToDecimal (
Object value
)
function ToDecimal (
value : Object
) : decimal
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