TXTextControl.Web.TextControl.GetFileDirectory Method

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

Syntax

[C#]
public string GetFileDirectory(Web.FileType type);
[Visual Basic]
Public Function GetFileDirectory(ByVal type As Web.FileType) As String
Parameter Description
type

Specifies one of the FileType values.

Return Value

Returns 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