GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlWriter Class / Generate Method / Generate(TextWriter) Method
the TextWriter to be written
In This Topic
    Generate(TextWriter) Method
    In This Topic
    Start an XmlWriter and generate XML.
    Syntax
    public void Generate( 
       TextWriter destination
    )

    Parameters

    destination
    the TextWriter to be written
    Remarks

    This calls, in order, GenerateInstructions, GenerateRootElement, GenerateRootAttributes, GenerateDefinitions, and GenerateObjects. The value of XmlDocument will be null, since no DOM is constructed.

    This calls XmlWriter.Create with the value of this.XmlWriterSettings.

    See Also