GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlTransformer Class / WriteAttrVal Method / WriteAttrVal(String,String) Method
the attribute name, or null to just convert the value to a string and return it
the value to write
In This Topic
    WriteAttrVal(String,String) Method
    In This Topic
    Write an attribute of the name name with a string representation for the value val.
    Syntax
    public string WriteAttrVal( 
       string name,
       string val
    )

    Parameters

    name
    the attribute name, or null to just convert the value to a string and return it
    val
    the value to write

    Return Value

    the value converted to a string
    Remarks
    This writes the attribute by calling GoXmlWriter.GoXmlWriter.WriteAttrVal.
    See Also