Nevron Open Vision Documentation
Nevron.Nov.Serialization Namespace / NDeserializer Class / LoadFromFile Method


In This Topic
    LoadFromFile Method (NDeserializer)
    In This Topic
    Loads an object from the file in the specified persistency format.
    Syntax
    'Declaration
     
    
    Public Function LoadFromFile( _
       ByVal filePath As System.String, _
       ByVal format As ENPersistencyFormat _
    ) As NPromise(Of Object)
    'Usage
     
    
    Dim instance As NDeserializer
    Dim filePath As System.String
    Dim format As ENPersistencyFormat
    Dim value As NPromise(Of Object)
     
    value = instance.LoadFromFile(filePath, format)
    public NPromise<object> LoadFromFile( 
       System.string filePath,
       ENPersistencyFormat format
    )

    Parameters

    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