Share via


DkmTransportConnection.GetFileListing(String, String, Boolean) Method

Definition

Obtains a listing of files and subdirectories that exist on the target computer.

public:
 cli::array <Microsoft::VisualStudio::Debugger::DefaultPort::DkmFileInfo ^> ^ GetFileListing(System::String ^ RootDirectoryPath, System::String ^ SearchWildcard, bool Recursive);
public:
 Platform::Array <Microsoft::VisualStudio::Debugger::DefaultPort::DkmFileInfo ^> ^ GetFileListing(Platform::String ^ RootDirectoryPath, Platform::String ^ SearchWildcard, bool Recursive);
std::Array <Microsoft::VisualStudio::Debugger::DefaultPort::DkmFileInfo const &> GetFileListing(std::wstring const & RootDirectoryPath, std::wstring const & SearchWildcard, bool Recursive);
public Microsoft.VisualStudio.Debugger.DefaultPort.DkmFileInfo[] GetFileListing (string RootDirectoryPath, string SearchWildcard, bool Recursive);
member this.GetFileListing : string * string * bool -> Microsoft.VisualStudio.Debugger.DefaultPort.DkmFileInfo[]
Public Function GetFileListing (RootDirectoryPath As String, SearchWildcard As String, Recursive As Boolean) As DkmFileInfo()

Parameters

RootDirectoryPath
String

[In] Path to a remote directory under which the search will be preformed. Environment variables will be expanded (ex: %TMP%\MyDirectory). The directory cannot be a relative path.

SearchWildcard
String

[In] Wildcard search string to use when matching files. For example, '*' to obtain all files and directories, or 'example.txt' to obtain information on just 'example.txt'.

Recursive
Boolean

[In] True if all subdirectories under 'RootDirectoryPath' should be checked for files. This option excludes reparse points like mounted drives and symbolic links.

Returns

[Out] File information for all found files and subdirectories.

Applies to