GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlTransformer Class / RefAttr Method
the name of the attribute
the default value to return if the attribute is not present
In This Topic
    RefAttr Method
    In This Topic
    Find a shared object referenced by a given attribute.
    Syntax
    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.
    See Also