[This is preliminary documentation and is subject to change.]
Called immediately after OnInit()()()().
Namespace: Tools.TotalCommanderTAssembly: Tools.TotalCommander (in Tools.TotalCommander.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public virtual void SetDefaultParams( DefaultParams dps ) |
| Visual Basic |
|---|
Public Overridable Sub SetDefaultParams ( _ dps As DefaultParams _ ) |
| Visual C++ |
|---|
public: virtual void SetDefaultParams( DefaultParams dps ) |
| F# |
|---|
abstract SetDefaultParams : dps:DefaultParams -> unit override SetDefaultParams : dps:DefaultParams -> unit |
| JScript |
|---|
public function SetDefaultParams( dps : DefaultParams ) |
Parameters
- dps
- Type: Tools.TotalCommanderT..::..DefaultParams
This structure curently contains version number of the Total Commander plugin interface (not this managed interface) and suggested location of settings file. It is recommended to store any plugin-specific information either directly in that file or in that directory under a different name.
Remarks
Make sure to use a unique header when storing data in this file, because it is shared by other file system plugins! If your plugin needs more than 1kbyte of data, you should use your own ini file because ini files are limited to 64k.
| Do not thow any other exceptions. Such exception will be passed to Total Commander which cannot handle it. |
| Always call base class method. When base class method is not called, the PluginParams property does not have valid value. |
Exceptions
| Exception | Condition |
|---|---|
| System..::..InvalidOperationException | This method is called when it was already called. This method can be called only once on each instance. |