File.IsDirectory
Syntax:
Returned value:
True indicates that an object corresponds to a directory; otherwise it is False.
Description:
Availability:
Note:
To use the method on the web-client, you should preliminarily attach the extension for working with files.
Example:
If Not Selection.IsDirectory() Then DoMessageBox("Define a directory!"); EndIf; |
See also: