Export (0) Print
Expand All

ListView.SelectedIndexCollection Members

Represents the collection that contains the indexes to the selected items in a ListView control.

The following tables list the members exposed by the ListView.SelectedIndexCollection type.

  Name Description
Public method Supported by the .NET Compact Framework ListView.SelectedIndexCollection Initializes a new instance of the ListView.SelectedIndexCollection class.
Top

  Name Description
Public property Supported by the .NET Compact Framework Count Gets the number of items in the collection.
Public property Supported by the .NET Compact Framework IsReadOnly Gets a value indicating whether the collection is read-only.
Public property Supported by the .NET Compact Framework Item Gets the index value at the specified index within the collection.
Top

(see also Protected Methods )
  Name Description
Public method Add Adds the item at the specified index in the Items array to the collection.
Public method Clear Clears the items in the collection.
Public method Supported by the .NET Compact Framework Contains Determines whether the specified index is located in the collection.
Public method Supported by the .NET Compact Framework CopyTo Copies the entire collection into an existing array at a specified location within the array.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetEnumerator Returns an enumerator that can be used to iterate through the selected index collection.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework IndexOf Returns the index within the ListView.SelectedIndexCollection of the specified index from the ListView.ListViewItemCollection of the ListView control.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Remove Removes the item at the specified index in the Items collection from the ListView.SelectedIndexCollection.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Add Adds an item to the collection.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Clear Removes all items from the collection.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Contains Determines whether the specified item is located in the collection.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.IndexOf Returns the index in the ListView.SelectedIndexCollection. The ListView.SelectedIndexCollection contains the indexes of selected items in the ListView.ListViewItemCollection of the ListView control.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Insert Inserts an item into the collection at a specified index.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.Remove Removes the first occurrence of a specified item from the collection.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IList.RemoveAt Removes an item from the collection at a specified index.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread safe).
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.SyncRoot Gets an object that can be used to synchronize access to the collection of controls.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.IsFixedSize Gets a value indicating whether the ListView.SelectedIndexCollection has a fixed size.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.Item Gets or sets an object in the collection.
Top

Community Additions

ADD
Show:
© 2014 Microsoft