[This is preliminary documentation and is subject to change.]
When overriden in derived class creates a directory on the plugin's file system.
Namespace: Tools.TotalCommanderTAssembly: Tools.TotalCommander (in Tools.TotalCommander.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[MethodNotSupportedAttribute] public virtual bool MkDir( string Path ) |
| Visual Basic |
|---|
<MethodNotSupportedAttribute> _ Public Overridable Function MkDir ( _ Path As String _ ) As Boolean |
| Visual C++ |
|---|
[MethodNotSupportedAttribute] public: virtual bool MkDir( String^ Path ) |
| F# |
|---|
[<MethodNotSupportedAttribute>] abstract MkDir : Path:string -> bool [<MethodNotSupportedAttribute>] override MkDir : Path:string -> bool |
| JScript |
|---|
public function MkDir( Path : String ) : boolean |
Parameters
- Path
- Type: System..::..String
Name of the directory to be created, with full path. The name always starts with a backslash, then the names returned by FindFirst(String, FindData%)/FindNext(Object, FindData%) separated by backslashes.
Return Value
Return true if the directory could be created, false if not.
Remarks
When most-derived method implementation is marked with MethodNotSupportedAttribute, it means that the most derived plugin implementation does not support operation provided by the method.
| Do not thow any other exceptions. Such exception will be passed to Total Commander which cannot handle it. |
Exceptions
| Exception | Condition |
|---|---|
| System..::..UnauthorizedAccessException | The user does not have required access |
| System.Security..::..SecurityException | Security error detected |
| System.IO..::..IOException | An IO error occured |
| System..::..NotSupportedException | The actual implementation is marked with MethodNotSupportedAttribute which means that the plugin doesnot support operation provided by the method. |