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

    Parameters

    destination
    the Stream 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