IFileSystem.GetRootEntriesAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the root entries of a provider's namespace. For instance, the root entries for a provider for the local machine's file system might represent the physical drives on the local machine.
public:
System::Threading::Tasks::Task<System::Collections::Generic::IReadOnlyList<Uri ^> ^> ^ GetRootEntriesAsync(System::String ^ scheme, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Uri>> GetRootEntriesAsync (string scheme, System.Threading.CancellationToken cancellationToken);
abstract member GetRootEntriesAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Uri>>
Public Function GetRootEntriesAsync (scheme As String, cancellationToken As CancellationToken) As Task(Of IReadOnlyList(Of Uri))
Parameters
- scheme
- String
The scheme for the provider.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
A collection of Uris for the root entries of the provider's namespace.