Click or drag to resize

SystemShellListItemCollectionT Class

Generic collection class for items implementing IShellItem.
Inheritance Hierarchy
SystemObject
  Jam.ShellSystemShellListItemCollectionT
    Jam.ShellShellSystemListItemCollection

Namespace: Jam.Shell
Assembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntax
public class SystemShellListItemCollection<T> : IList<T>, 
	ICollection<T>, IEnumerable<T>, IEnumerable
where T : IShellItem

Type Parameters

T
The type of the list items contained, must implement IShellItem

The SystemShellListItemCollectionT type exposes the following members.

Constructors
 NameDescription
Public methodSystemShellListItemCollectionT Initializes a new instance of the SystemShellListItemCollectionT class.
Top
Properties
 NameDescription
Public propertyCount Returns the number of items in the collection
Public propertyIsReadOnly Returns true
Public propertyItem Get a item at the specified index. The setter currently always throws an exception.
Top
Methods
 NameDescription
Public methodAdd Part of the ICollectionT interface. Adds an element to the collection.
Public methodClear Part of the ICollectionT interface, clears the collection.
Public methodContains Determines whether an element is in the collection
Public methodCopyTo Copies the entire SystemShellListItemCollectionT to a compatible one-dimensional array, starting at the specified index of the target array.
Public methodGetEnumerator Returns an enumerator that iterates through the collection.
Public methodGetFilePaths returns the Filepaths contained in this collection as string array.
Public methodIndexOf(ItemIdList)Searches for the specified object and returns the zero-based index of the first occurrence within the entire collection.
Public methodIndexOf(T) Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collections.
Public methodIndexOfPath Searches item collection for the specified path.
Public methodInsert Part of the IListT interface. Inserts the passed item at the passed index.
Public methodRemove Part of the ICollectionT interface. Removes an element from the collection.
Public methodRemoveAt Part of the IListT interface. Removes the item at the passed index.
Top
See Also