Converts a string representation of a number to given unit of measure. A return value indicates whether the conversion succeeded or failed.


Namespace: FDF.Common
Assembly: FDF.Common (in FDF.Common.dll)

Syntax

Visual Basic (Declaration)
PublicFunctionTryParse(_
ByValvalueAsString, _
ByValunitAsT_
)AsBoolean
C#
publicboolTryParse(
stringvalue,
Tunit
)
C++
public:
boolTryParse(
Stringvalue,
Tunit
)sealed
J#
publicboolTryParse(
stringvalue,
Tunit
)
JScript
JScript does not support generic types and methods.

Parameters

value
unit

See Also