GoDiagram Web Reference
RefAttr Method

the name of the attribute
the default value to return if the attribute is not present
Find a shared object referenced by a given attribute.
Syntax
'Declaration
 
Public Function RefAttr( _
   ByVal name As String, _
   ByVal def As Object _
) As Object
public object RefAttr( 
   string name,
   object def
)

Parameters

name
the name of the attribute
def
the default value to return if the attribute is not present

Return Value

An object found in the table of shared object, indexed by the value of the attribute. If the attribute's value is the string "null" or if its value is not found in the shared object table, this method returns null/Nothing. If the attribute is not present, this method returns the value of def.
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
StringAttr Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback