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

When overriden in derived class called to get the default view to which Total Commander should switch when this file system plugin is entered.

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

Syntax

C#
[MethodNotSupportedAttribute]
public virtual ViewDefinition GetDefaultView(
	int maxlen
)
Visual Basic
<MethodNotSupportedAttribute> _
Public Overridable Function GetDefaultView ( _
	maxlen As Integer _
) As ViewDefinition
Visual C++
[MethodNotSupportedAttribute]
public:
virtual ViewDefinition^ GetDefaultView(
	int maxlen
)
F#
[<MethodNotSupportedAttribute>]
abstract GetDefaultView : 
        maxlen:int -> ViewDefinition 
[<MethodNotSupportedAttribute>]
override GetDefaultView : 
        maxlen:int -> ViewDefinition 
JScript
public function GetDefaultView(
	maxlen : int
) : ViewDefinition

Parameters

maxlen
Type: System..::..Int32
Maximum length if sting accepted by total commander. Lenghts of GetColumnSourcesString()()()(), GetNamesString()()()(), GetWidthsString()()()() and GetOptionsString()()()() returned shall not exceed this lenght or uncatchable exception will be thrown.

Return Value

A ViewDefinition specifying default view to be used. Null not to show any specific view

Remarks

Note
Do not thow any other exceptions. Such exception will be passed to Total Commander which cannot handle it.

Exceptions

ExceptionCondition
System..::..NotSupportedExceptionThe actual implementation is marked with MethodNotSupportedAttribute which means that the plugin doesnot support operation provided by the method.

See Also