GoDiagram Win Reference
Parse Method

this out parameter is modified to indicate the units specified in the string; this will be set to GoDrawUnit.None if not specified
Read a measurement from a string, including any units indicator.
Syntax
'Declaration
 
Public Shared Function Parse( _
   ByVal s As String, _
   ByRef u As GoDrawUnit _
) As Double
public static double Parse( 
   string s,
   out GoDrawUnit u
)

Parameters

s
u
this out parameter is modified to indicate the units specified in the string; this will be set to GoDrawUnit.None if not specified

Return Value

the numeric value given in the string
Remarks
This compares with both the long and the abbreviated unit names to determine the GoDrawUnit (if any) that is given in the string s.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoDrawUnits Class
GoDrawUnits Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback