ArcFM Desktop Developer Guide
CreateXmlDeclaration Method


The XmlDocument to create the element
The Encoding of the document
Determines if the document is standalone
CreateXmlDeclaration creates the XML Declaration element.
Syntax
'Declaration
 
Public Shared Function CreateXmlDeclaration( _
   ByVal doc As XmlDocument, _
   ByVal docEncoding As String, _
   ByVal isStandalone As Boolean _
) As XmlDeclaration
'Usage
 
Dim doc As XmlDocument
Dim docEncoding As String
Dim isStandalone As Boolean
Dim value As XmlDeclaration
 
value = XmlElementFactory.CreateXmlDeclaration(doc, docEncoding, isStandalone)
public static XmlDeclaration CreateXmlDeclaration( 
   XmlDocument doc,
   string docEncoding,
   bool isStandalone
)

Parameters

doc
The XmlDocument to create the element
docEncoding
The Encoding of the document
isStandalone
Determines if the document is standalone

Return Value

XmlDeclaration for the Document
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

XmlElementFactory Class
XmlElementFactory Members

 

 


Send Comment