Nevron Open Vision Documentation
Nevron.Nov.Xml Namespace / NXmlDocument Class / LoadFromFile Method
The file to load from.


In This Topic
    LoadFromFile Method (NXmlDocument)
    In This Topic
    Loads an XML document from the given file.
    Syntax
    'Declaration
     
    
    Public Shared Function LoadFromFile( _
       ByVal file As NFile _
    ) As NPromise(Of NXmlDocument)
    'Usage
     
    
    Dim file As NFile
    Dim value As NPromise(Of NXmlDocument)
     
    value = NXmlDocument.LoadFromFile(file)
    public static NPromise<NXmlDocument> LoadFromFile( 
       NFile file
    )

    Parameters

    file
    The file to load from.
    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