Switcher.ListViewCollection Class

Displays the values of a data source by using user-defined templates.

Inheritance Hierarchy

System.Object
  System.Collections.CollectionBase
    Microsoft.SqlServer.Management.Controls.Switcher.ListViewCollection

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Class ListViewCollection _
    Inherits CollectionBase _
    Implements IList(Of IView), ICollection(Of IView),  _
    IEnumerable(Of IView), IEnumerable
'Usage
Dim instance As Switcher.ListViewCollection
[ComVisibleAttribute(false)]
public class ListViewCollection : CollectionBase, 
    IList<IView>, ICollection<IView>, IEnumerable<IView>, 
    IEnumerable
[ComVisibleAttribute(false)]
public ref class ListViewCollection : public CollectionBase, 
    IList<IView^>, ICollection<IView^>, IEnumerable<IView^>, 
    IEnumerable
[<ComVisibleAttribute(false)>]
type ListViewCollection =  
    class
        inherit CollectionBase
        interface IList<IView>
        interface ICollection<IView>
        interface IEnumerable<IView>
        interface IEnumerable
    end
public class ListViewCollection extends CollectionBase implements IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable

The Switcher.ListViewCollection type exposes the following members.

Constructors

  Name Description
Public method Switcher.ListViewCollection Initializes a new instance of the Switcher.ListViewCollection class.

Top

Properties

  Name Description
Public property Capacity (Inherited from CollectionBase.)
Public property Count (Inherited from CollectionBase.)
Protected property InnerList (Inherited from CollectionBase.)
Public property IsReadOnly Gets a value indicating whether the control is read-only.
Public property Item Gets a collection of Switcher.ListViewCollection objects that represent the data items of the current page of data in the control.
Protected property List (Inherited from CollectionBase.)

Top

Methods

  Name Description
Public method Add Adds an item to the values of a data source by using user-defined templates.
Public method Clear (Inherited from CollectionBase.)
Public method Contains Returns a Boolean value indicating whether a Collection object contains an element with a specific key.
Public method CopyTo Copies the elements of the collection to an array, starting at a particular array index.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns a reference to an enumerator object, which is used to iterate over a Collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IndexOf Searches for the specified object and returns the zero-based index of the first occurrence in the collection.
Public method Insert Inserts an element into the Collection at the specified index.
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnClear (Inherited from CollectionBase.)
Protected method OnClearComplete Performs additional custom processes after clearing the contents of the Collection instance. (Overrides CollectionBase.OnClearComplete().)
Protected method OnInsert (Inherited from CollectionBase.)
Protected method OnInsertComplete Performs additional custom processes after inserting a new element into the Collection instance. (Overrides CollectionBase.OnInsertComplete(Int32, Object).)
Protected method OnRemove (Inherited from CollectionBase.)
Protected method OnRemoveComplete Performs additional custom processes after removing an element into the Collection instance. (Overrides CollectionBase.OnRemoveComplete(Int32, Object).)
Protected method OnSet (Inherited from CollectionBase.)
Protected method OnSetComplete Performs additional custom processes after setting a value in the Collection instance. (Overrides CollectionBase.OnSetComplete(Int32, Object, Object).)
Protected method OnValidate (Inherited from CollectionBase.)
Public method Remove Removes the first occurrence of a specific object from the collection.
Public method RemoveAt (Inherited from CollectionBase.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method IList.Contains (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method IList.IndexOf (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method IList.Insert (Inherited from CollectionBase.)
Explicit interface implemetationPrivate property IList.IsFixedSize (Inherited from CollectionBase.)
Explicit interface implemetationPrivate property IList.IsReadOnly (Inherited from CollectionBase.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from CollectionBase.)
Explicit interface implemetationPrivate property IList.Item (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method IList.Remove (Inherited from CollectionBase.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from CollectionBase.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.