Returns the directory path where the files of a specific file type are stored.

GetFileDirectoryAsync(Web.FileType)

public async System.Threading.Tasks.Task<string> GetFileDirectoryAsync(Web.FileType type);
Public Async Function GetFileDirectoryAsync(ByVal type As Web.FileType) As System.Threading.Tasks.Task(Of String)

Parameters

Parameter Description
type Specifies one of the FileType values.

Return Value

Returns a System.Threading.Tasks.Task object containing the directory path where the files of a specific file type are stored. The return value is null, if no directory path was specified.