The methods of the ListView.SelectedListViewItemCollection class are listed here. For a complete list of ListView.SelectedListViewItemCollection class members, see the ListView.SelectedListViewItemCollection Members topic.
|Clear||Removes all items from the collection.|
|Contains||Determines whether the specified item is located in the collection.|
|CopyTo||Copies the entire collection into an existing array at a specified location within the array.|
|Equals (inherited from Object)||Overloaded. Determines whether two Object instances are equal.|
|GetEnumerator||Returns an enumerator that can be used to iterate through the selected item collection.|
|GetHashCode (inherited from Object)||Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.|
|GetType (inherited from Object)||Gets the Type of the current instance.|
|IndexOf||Returns the index within the collection of the specified item.|
|ToString (inherited from Object)||Returns a String that represents the current Object.|
|Finalize (inherited from Object)||Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax.
|MemberwiseClone (inherited from Object)||Creates a shallow copy of the current Object.|