Nevron Open Vision Documentation
Nevron.Nov.Serialization Namespace / NSerializer Class / SaveToFile Method


In This Topic
    SaveToFile Method (NSerializer)
    In This Topic
    Saves the passed object to a file in the specified persistency format.
    Syntax
    'Declaration
     
    
    Public Function SaveToFile( _
       ByVal root As System.Object, _
       ByVal filePath As System.String, _
       ByVal format As ENPersistencyFormat _
    ) As NPromise(Of NUndefined)
    'Usage
     
    
    Dim instance As NSerializer
    Dim root As System.Object
    Dim filePath As System.String
    Dim format As ENPersistencyFormat
    Dim value As NPromise(Of NUndefined)
     
    value = instance.SaveToFile(root, filePath, format)
    public NPromise<NUndefined> SaveToFile( 
       System.object root,
       System.string filePath,
       ENPersistencyFormat format
    )

    Parameters

    root
    filePath
    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