[This is preliminary documentation and is subject to change.]

When overriden in derived class removes a directory from the plugin's file system.

Namespace: Tools.TotalCommanderT
Assembly: Tools.TotalCommander (in Tools.TotalCommander.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[MethodNotSupportedAttribute]
public virtual bool RemoveDir(
	string RemoteName
)
Visual Basic
<MethodNotSupportedAttribute> _
Public Overridable Function RemoveDir ( _
	RemoteName As String _
) As Boolean
Visual C++
[MethodNotSupportedAttribute]
public:
virtual bool RemoveDir(
	String^ RemoteName
)
F#
[<MethodNotSupportedAttribute>]
abstract RemoveDir : 
        RemoteName:string -> bool 
[<MethodNotSupportedAttribute>]
override RemoveDir : 
        RemoteName:string -> bool 
JScript
public function RemoveDir(
	RemoteName : String
) : boolean

Parameters

RemoteName
Type: System..::..String
Name of the directory to be removed, 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 removed, 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.
Note
Do not thow any other exceptions. Such exception will be passed to Total Commander which cannot handle it.

Exceptions

ExceptionCondition
System..::..UnauthorizedAccessExceptionThe user does not have required access
System.Security..::..SecurityExceptionSecurity error detected
System.IO..::..IOExceptionAn IO error occured
System..::..NotSupportedExceptionThe actual implementation is marked with MethodNotSupportedAttribute which means that the plugin doesnot support operation provided by the method.

See Also