The CreateXmlDeclaration method creates an XML declaration element from the specified target, version, encoding and standalone.

C# | Visual Basic | Visual C++ | F# |
public static void CreateXmlDeclaration( NBElement target, string version, string encoding, string standalone )
Public Shared Sub CreateXmlDeclaration ( _ target As NBElement, _ version As String, _ encoding As String, _ standalone As String _ )