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 | |
---|---|---|
Switcher.WidgetsCollection | Initializes a new instance of the Switcher.WidgetsCollection class. |
Top
Properties
Name | Description | |
---|---|---|
Capacity | (Inherited from CollectionBase.) | |
Count | (Inherited from CollectionBase.) | |
InnerList | (Inherited from CollectionBase.) | |
IsReadOnly | Gets a value indicating whether Switcher.WidgetsCollection is read-only | |
Item | Gets or sets the element at the specified index. | |
List | (Inherited from CollectionBase.) |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds the specified Control object to the collection. | |
Clear | (Inherited from CollectionBase.) | |
Contains | Returns a Boolean value indicating whether the Switcher.WidgetsCollection object contains an element with a specific key. | |
CopyTo | Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Returns a reference to an enumerator object, which is used to iterate over the Switcher.WidgetsCollection class. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence in the collection. | |
Insert | Inserts an element into the collection at the specified index. | |
MemberwiseClone | (Inherited from Object.) | |
OnClear | (Inherited from CollectionBase.) | |
OnClearComplete | Performs additional custom processes after clearing the contents of the Switcher.WidgetsCollection instance. (Overrides CollectionBase.OnClearComplete().) | |
OnInsert | (Inherited from CollectionBase.) | |
OnInsertComplete | Performs additional custom processes after inserting a new element into the Switcher.WidgetsCollection instance. (Overrides CollectionBase.OnInsertComplete(Int32, Object).) | |
OnRemove | (Inherited from CollectionBase.) | |
OnRemoveComplete | Performs additional custom processes after removing an element from the Switcher.WidgetsCollection instance. (Overrides CollectionBase.OnRemoveComplete(Int32, Object).) | |
OnSet | (Inherited from CollectionBase.) | |
OnSetComplete | Performs additional custom processes after setting a value in the Switcher.WidgetsCollection instance. (Overrides CollectionBase.OnSetComplete(Int32, Object, Object).) | |
OnValidate | (Inherited from CollectionBase.) | |
Remove | Removes the first occurrence of a specific object from the collection. | |
RemoveAt | (Inherited from CollectionBase.) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IList.Add | (Inherited from CollectionBase.) | |
IList.Contains | (Inherited from CollectionBase.) | |
ICollection.CopyTo | (Inherited from CollectionBase.) | |
IList.IndexOf | (Inherited from CollectionBase.) | |
IList.Insert | (Inherited from CollectionBase.) | |
IList.IsFixedSize | (Inherited from CollectionBase.) | |
IList.IsReadOnly | (Inherited from CollectionBase.) | |
ICollection.IsSynchronized | (Inherited from CollectionBase.) | |
IList.Item | (Inherited from CollectionBase.) | |
IList.Remove | (Inherited from CollectionBase.) | |
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.