Nevron Open Vision Documentation
Nevron.Nov.IO Namespace / NFileSystemObject Class / Exists Method


In This Topic
    Exists Method (NFileSystemObject)
    In This Topic
    Checks whether the file system object exists.
    Syntax
    'Declaration
     
    
    Public Function Exists() As NPromise(Of Boolean)
    'Usage
     
    
    Dim instance As NFileSystemObject
    Dim value As NPromise(Of Boolean)
     
    value = instance.Exists()
    public NPromise<bool> Exists()

    Return Value

    True if the file system object exists and is of the valid type, i.e. a file for NFile and a directory for NDirectory file system objects.
    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