Nevron Open Vision Documentation
Nevron.Nov.Serialization Namespace / NDomNodeSerializer Class / SaveToFile Method / SaveToFile(NNode,NFile,ENPersistencyFormat) Method
The node to serialize.
The file to serialize the nodes to.
The persistency format.


In This Topic
    SaveToFile(NNode,NFile,ENPersistencyFormat) Method
    In This Topic
    Saves the specified DOM node to the specified file.
    Syntax
    'Declaration
     
    
    Public Overloads Function SaveToFile( _
       ByVal node As NNode, _
       ByVal file As NFile, _
       ByVal format As ENPersistencyFormat _
    ) As NPromise(Of NUndefined)
    'Usage
     
    
    Dim instance As NDomNodeSerializer
    Dim node As NNode
    Dim file As NFile
    Dim format As ENPersistencyFormat
    Dim value As NPromise(Of NUndefined)
     
    value = instance.SaveToFile(node, file, format)

    Parameters

    node
    The node to serialize.
    file
    The file to serialize the nodes to.
    format
    The persistency format.
    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