Windward Engine 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family

See Also

© 2019 All Rights Reserved.