TryParse Method (ReportSize)
In This Topic
Converts a string to the corresponding ReportSizeType value. A return value indicates whether the conversion succeeded or failed.
Syntax
'Declaration
Public Shared Function TryParse( _
ByVal As String, _
ByRef As ReportSizeType, _
ByRef As Double _
) As Boolean
public static bool TryParse(
string ,
out ReportSizeType ,
out double
)
Parameters
- s
- A string to convert.
- reportSizeType
- OUT: a ReportSizeType value specifying the units of the parsed size.
- value
- OUT: a double value representing the parsed size, in units.
Return Value
true if was converted successfully; otherwise, false.
See Also