[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.2.0

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
protected Dictionary<int, Object> HandleDictionary { get; }
Visual Basic (Declaration)
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _
Protected ReadOnly Property HandleDictionary As Dictionary(Of Integer, Object)
Visual C++
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
protected:
property Dictionary<int, Object^>^ HandleDictionary {
	Dictionary<int, Object^>^ get ();
}
J#
/** @property */
/** @attribute EditorBrowsableAttribute(EditorBrowsableState.Advanced) */
protected Dictionary<int, Object> get_HandleDictionary()
JScript
protected 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