Nevron Open Vision Documentation
Nevron.Nov.Xml Namespace / NXmlDocumentSerializer Class / GetDocumentDeclaration Method


In This Topic
    GetDocumentDeclaration Method
    In This Topic
    Gets the string declaration with which the document's serialization should start.
    Syntax
    'Declaration
     
    
    Protected Overridable Function GetDocumentDeclaration( _
       ByVal document As NXmlDocument, _
       ByVal encoding As NEncoding _
    ) As System.String
    'Usage
     
    
    Dim instance As NXmlDocumentSerializer
    Dim document As NXmlDocument
    Dim encoding As NEncoding
    Dim value As System.String
     
    value = instance.GetDocumentDeclaration(document, encoding)
    protected virtual System.string GetDocumentDeclaration( 
       NXmlDocument document,
       NEncoding encoding
    )

    Parameters

    document
    encoding
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also