Nevron Open Vision Documentation
Nevron.Nov.IO Namespace / NFileSystemService Class / ExistsAsync Method


In This Topic
    ExistsAsync Method (NFileSystemService)
    In This Topic
    Checks whether the given file system object exists.
    Syntax
    'Declaration
     
    
    Public MustOverride Function ExistsAsync( _
       ByVal fso As NFileSystemObject _
    ) As NPromise(Of Boolean)
    'Usage
     
    
    Dim instance As NFileSystemService
    Dim fso As NFileSystemObject
    Dim value As NPromise(Of Boolean)
     
    value = instance.ExistsAsync(fso)
    public abstract NPromise<bool> ExistsAsync( 
       NFileSystemObject fso
    )

    Parameters

    fso

    Return Value

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