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

Gets dictionary containing objects referenced by Total Commander by handles

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

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
protected Dictionary<int, Object> HandleDictionary { get; }
Visual Basic
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _
Protected ReadOnly Property HandleDictionary As Dictionary(Of Integer, Object)
	Get
Visual C++
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
protected:
property Dictionary<int, Object^>^ HandleDictionary {
	Dictionary<int, Object^>^ get ();
}
F#
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
member HandleDictionary : Dictionary<int, Object>
JScript
function get HandleDictionary () : Dictionary<int, Object>

Remarks

Do not add/remove items form this collection directly. Use dedicated Handle* functions instead (they are thread-safe).

In rare occasions, your plugin is not utilized by Total Commander but by another .NET-based application, you cannot rely on objects being passed to FindNext(Object, FindData%)/FindClose(Object) being present in this dictionary and object returned by being added to this dictionary. It's because .NET application doesn't need to rely on integer handles - it can store objects itself.

See Also