GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlTransformer Class / WriteAttrRef Method
the attribute name
the object for which we write a string reference
In This Topic
    WriteAttrRef Method
    In This Topic
    Write an attribute of the name name with a string representation for the reference to the object val.
    Syntax
    public string WriteAttrRef( 
       string name,
       object val
    )

    Parameters

    name
    the attribute name
    val
    the object for which we write a string reference

    Return Value

    a string representing a reference to that object
    Remarks
    This converts the object reference to a string by calling GoXmlWriter.GoXmlWriter.MakeShared and then writes the attribute by calling GoXmlWriter.GoXmlWriter.WriteAttrVal.
    See Also