DesignerCollection
Class
Definition
Represents a collection of designers.
public class DesignerCollection : System.Collections.ICollection
- Inheritance
-
DesignerCollection
- Implements
Inherited Members
System.Object
Examples
The following code example creates a DesignerCollection initialized with a specified array of IDesignerHost objects.
// Create a DesignerCollection using a constructor
// that accepts an array of IDesignerHost objects with
// which to initialize the array.
array<IDesignerHost^>^temp0 = {designerhost1,designerhost2};
DesignerCollection^ collection = gcnew DesignerCollection( temp0 );
// Create a DesignerCollection using a constructor
// that accepts an array of IDesignerHost objects with
// which to initialize the array.
DesignerCollection collection = new DesignerCollection(
new IDesignerHost[] { designerhost1, designerhost2 } );
' Create a DesignerCollection using a constructor
' that accepts an array of IDesignerHost objects with
' which to initialize the collection.
Dim collection As New DesignerCollection(New IDesignerHost() {designerhost1, designerhost2})
Remarks
This collection object can store references to a set of designers.
Constructors
| DesignerCollection(IList) |
Initializes a new instance of the DesignerCollection class that contains the specified set of designers. |
| DesignerCollection(IDesignerHost[]) |
Initializes a new instance of the DesignerCollection class that contains the specified designers. |
Properties
| Count |
Gets the number of designers in the collection. |
| Item[Int32] |
Gets the designer at the specified index. |
Methods
| GetEnumerator() |
Gets a new enumerator for this collection. |
Explicit Interface Implementations
| ICollection.CopyTo(Array, Int32) |
Copies the elements of the collection to an Array, starting at a particular Array index. |
| ICollection.Count |
Gets the number of elements contained in the collection. |
| ICollection.IsSynchronized |
Gets a value indicating whether access to the ICollection is synchronized (thread safe). |
| ICollection.SyncRoot |
Gets an object that can be used to synchronize access to the collection. |
| IEnumerable.GetEnumerator() |
Gets a new enumerator for this collection. |
Extension Methods
| Cast<TResult>(IEnumerable) | |
| OfType<TResult>(IEnumerable) | |
| AsParallel(IEnumerable) | |
| AsQueryable(IEnumerable) |