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


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

    Parameters

    folder
    searchPattern
    The search string to match against the names of folders. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters. Use "*" to match all folders.
    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