Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function TryConvert( _ ByVal value As Object, _ ByRef decimalValue As Decimal _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim value As Object Dim decimalValue As Decimal Dim value As Boolean value = CalcConvert.TryConvert(value, decimalValue) |
C# | |
---|---|
public static bool TryConvert( object value, ref decimal decimalValue ) |
Parameters
- value
- The value.
- decimalValue
- The decimal value.
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6