TXTextControl.Web.TextControl.GetFileDirectoryAsync Method

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

Syntax

[C#]
public async System.Threading.Tasks.Task<string> GetFileDirectoryAsync(Web.FileType type);
[Visual Basic]
Public Async Function GetFileDirectoryAsync(ByVal type As Web.FileType) As System.Threading.Tasks.Task(Of String)
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.

See Also