Windward Studios API Reference
ToXml(XmlWriter,IEnumerable<TemplateVariable>) Method
See Also  Send comments on this topic.
net.windward.api.csharp Namespace > TemplateVariable Class > ToXml Method : ToXml(XmlWriter,IEnumerable<TemplateVariable>) Method




xmlWriter
The XML document being built.
vars
The collection of vars to store.

Glossary Item Box

Build the xml for the data stored in the template of all vars.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Sub ToXml( _
   ByVal xmlWriter As XmlWriter, _
   ByVal vars As IEnumerable(Of TemplateVariable) _
) 
Visual Basic (Usage)Copy Code
Dim xmlWriter As XmlWriter
Dim vars As IEnumerable(Of TemplateVariable)
 
TemplateVariable.ToXml(xmlWriter, vars)
C# 
public static void ToXml( 
   XmlWriter xmlWriter,
   IEnumerable<TemplateVariable> vars
)
Managed Extensions for C++ 
public: static void ToXml( 
   XmlWriter* xmlWriter,
   IEnumerable<TemplateVariable*>* vars
) 
C++/CLI 
public:
static void ToXml( 
   XmlWriter^ xmlWriter,
   IEnumerable<TemplateVariable^>^ vars
) 

Parameters

xmlWriter
The XML document being built.
vars
The collection of vars to store.

Return Value

The parent element of all the vars.

Requirements

Platforms: Windows 10, Windows NT, Windows Server

See Also

Windward Studios - .NET Document Generation software