Share via


Switcher.WidgetsCollection Class

Provides the base class for the widgets collection.

Inheritance Hierarchy

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

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

Syntax

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

The Switcher.WidgetsCollection type exposes the following members.

Constructors

  Name Description
Public method Switcher.WidgetsCollection Initializes a new instance of the Switcher.WidgetsCollection 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 Switcher.WidgetsCollection is read-only
Public property Item Gets or sets the element at the specified index.
Protected property List (Inherited from CollectionBase.)

Top

Methods

  Name Description
Public method Add Adds the specified Control object to the collection.
Public method Clear (Inherited from CollectionBase.)
Public method Contains Returns a Boolean value indicating whether the Switcher.WidgetsCollection object contains an element with a specific key.
Public method CopyTo Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
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 the Switcher.WidgetsCollection class.
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 Switcher.WidgetsCollection instance. (Overrides CollectionBase.OnClearComplete().)
Protected method OnInsert (Inherited from CollectionBase.)
Protected method OnInsertComplete Performs additional custom processes after inserting a new element into the Switcher.WidgetsCollection instance. (Overrides CollectionBase.OnInsertComplete(Int32, Object).)
Protected method OnRemove (Inherited from CollectionBase.)
Protected method OnRemoveComplete Performs additional custom processes after removing an element from the Switcher.WidgetsCollection 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 Switcher.WidgetsCollection 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.