GoDiagram Web Reference
SingleAttr Method

the name of the attribute
the default value to return if the attribute is not present or there is a parsing error
Read an attribute's string value as a single float.
Syntax
'Declaration
 
Public Function SingleAttr( _
   ByVal name As String, _
   ByVal def As Single _
) As Single
public float SingleAttr( 
   string name,
   float def
)

Parameters

name
the name of the attribute
def
the default value to return if the attribute is not present or there is a parsing error

Return Value

the result of calling SingleFromString
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

GoXmlTransformer Class
GoXmlTransformer Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback