Click or drag to resize

WinFormsPathCollection Class

A class that allows to store paths and prevents duplicates. Adds some methods that need access of Windows.Forms.
Inheritance Hierarchy

Namespace: Jam.Shell
Assembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntax
[SerializableAttribute]
public class WinFormsPathCollection : PathCollection

The WinFormsPathCollection type exposes the following members.

Constructors
 NameDescription
Public methodWinFormsPathCollection Initializes a new instance of the PathCollection class
Public methodWinFormsPathCollection(IDataObject) Initializes a new instance of the PathCollection class and fills it with the filename(s) in the given IDataObject
Top
Properties
 NameDescription
Public propertyAllowDuplicates Gets or sets a value indicating whether to allow duplicate entries in the list.
(Inherited from PathCollection)
Public propertyCheckIfExists If true, paths that do not exist will not be added to the list
(Inherited from PathCollection)
Public propertyIsReadOnly Gets a value indicating whether the collection is read-only.
(Inherited from PathCollection)
Public propertyItem Returns a path with a certain index.
(Inherited from PathCollection)
Top
Methods
 NameDescription
Public methodAdd(IEnumerable) Add all items of the given enumrable class to the list.
(Inherited from PathCollection)
Public methodAdd(IEnumerableIJamItemIdList)Adds the paths of the passed ItemIdLists to the list.
(Inherited from PathCollection)
Public methodAdd(String) Adds the given path to the list of path.
(Inherited from PathCollection)
Protected methodAddPath Adds the given path to the list of path. It does not fire the Changing and Change event.
(Inherited from PathCollection)
Public methodBeginUpdate Prevent that the SelectionListChanged event is fired until EndUpdate is called. Every call of BeginUpdate() increments an UpdateCounter variable.
(Inherited from PathCollection)
Public methodClear Removes all elements from the list
(Inherited from PathCollection)
Public methodClone Creates a copy of the current PathCollection
(Inherited from PathCollection)
Public methodContains Returns true if the given path is in the list
(Inherited from PathCollection)
Public methodCopyTo Copies the elements of the PathCollection to an Array, starting at a particular Array index.
(Inherited from PathCollection)
Public methodDelete Removes the path with the given index from the list.
(Inherited from PathCollection)
Public methodDispose Releases ressources.
(Inherited from PathCollection)
Protected methodDispose(Boolean) Releases managed ressources.
(Inherited from PathCollection)
Public methodEndUpdate Every call of EndUpdate() decrements the UpdateCounter variable. When the UpdateCounter is 0, then the SelectionListChanged event is fired.
(Inherited from PathCollection)
Public methodStatic memberGetFolderSize(String, WinFormsPathCollectionGetFolderSizeCallbackDelegate, Object) Asynchronoulsy calculates the size of a folder, including all files in all subfolders, and the file count.
Public methodStatic memberGetFolderSize(String, WinFormsPathCollectionGetFolderSizeCallbackDelegate, Object, Int32) Asynchronoulsy calculates the size of a folder, including all files in all subfolders, and the file count.
Public methodIndexOf Returns the index of the given path.
(Inherited from PathCollection)
Public methodIsUpdatingQuery if this instance is currently updating.
(Inherited from PathCollection)
Public methodObjects Returns the object associated with a path.
(Inherited from PathCollection)
Protected methodOnChanged Fires the Change event.
(Inherited from PathCollection)
Protected methodOnChanging Fires the Changing event.
(Inherited from PathCollection)
Public methodPathWasRenamed Call this method to update the collection, e.g. upon path rename.
(Inherited from PathCollection)
Public methodRemove Removes a path from the list.
(Inherited from PathCollection)
Protected methodRemovePathRemoves the given path.
(Inherited from PathCollection)
Public methodToString Override the inherited method ToString().
(Inherited from PathCollection)
Public methodUpdate Updates the object associated with a path.
(Inherited from PathCollection)
Top
Events
 NameDescription
Public eventChange This event gets fired after items were added or deleted.
(Inherited from PathCollection)
Public eventChanging This event gets fired before items are added or deleted.
(Inherited from PathCollection)
Top
See Also