Nevron Open Vision Documentation
Nevron.Nov.IO Namespace / NInteropFileSystemServiceProxy Class / GetFilesAsync Method
The search string to match against the names of files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters.
Specifies whether to scan subfolders or not.


In This Topic
    GetFilesAsync Method (NInteropFileSystemServiceProxy)
    In This Topic
    Gets the files that match the specified search pattern in the given folder, using a value to determine whether to search subfolders.
    Syntax
    'Declaration
     
    
    Public Overrides Function GetFilesAsync( _
       ByVal folder As NFolder, _
       ByVal searchPattern As System.String, _
       ByVal scanMode As ENFolderScanMode _
    ) As NPromise(Of NFile())
    'Usage
     
    
    Dim instance As NInteropFileSystemServiceProxy
    Dim folder As NFolder
    Dim searchPattern As System.String
    Dim scanMode As ENFolderScanMode
    Dim value As NPromise(Of NFile())
     
    value = instance.GetFilesAsync(folder, searchPattern, scanMode)
    public override NPromise<NFile[]> GetFilesAsync( 
       NFolder folder,
       System.string searchPattern,
       ENFolderScanMode scanMode
    )

    Parameters

    folder
    searchPattern
    The search string to match against the names of files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters.
    scanMode
    Specifies whether to scan subfolders or not.
    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