Nevron Open Vision Documentation
Nevron.Nov.Xml Namespace / NXmlDocument Class / OnSerializing Method
The encoding in which the document is going to be serialized in.


In This Topic
    OnSerializing Method (NXmlDocument)
    In This Topic
    Called when the document is about to be serialized.
    Syntax
    'Declaration
     
    
    Protected Overridable Function OnSerializing( _
       ByVal encoding As NEncoding _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NXmlDocument
    Dim encoding As NEncoding
    Dim value As System.Boolean
     
    value = instance.OnSerializing(encoding)
    protected virtual System.bool OnSerializing( 
       NEncoding encoding
    )

    Parameters

    encoding
    The encoding in which the document is going to be serialized in.

    Return Value

    True if the serialization process should continue or false if it should be aborted.
    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