GetInfoAsync(string path) Method

Returns information about the specified file or directory if it exists; otherwise returns null (Nothing in Visual Basic).

Syntax

public abstract Task<FileSystemItem> GetInfoAsync(string path)

Parameters

path
Type: string

The path of the file or directory.

Returns

Information about the specified file or directory if it exists; otherwise null (Nothing in Visual Basic).