Επεξεργασία

Κοινή χρήση μέσω


ToolboxItemCollection Class

Definition

Represents a collection of toolbox items.

public ref class ToolboxItemCollection sealed : System::Collections::ReadOnlyCollectionBase
public sealed class ToolboxItemCollection : System.Collections.ReadOnlyCollectionBase
type ToolboxItemCollection = class
    inherit ReadOnlyCollectionBase
Public NotInheritable Class ToolboxItemCollection
Inherits ReadOnlyCollectionBase
Inheritance
ToolboxItemCollection

Constructors

ToolboxItemCollection(ToolboxItem[])

Initializes a new instance of the ToolboxItemCollection class using the specified array of toolbox items.

ToolboxItemCollection(ToolboxItemCollection)

Initializes a new instance of the ToolboxItemCollection class using the specified collection.

Properties

Count

Gets the number of elements contained in the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
InnerList

Gets the list of elements contained in the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
Item[Int32]

Gets the ToolboxItem at the specified index.

Methods

Contains(ToolboxItem)

Indicates whether the collection contains the specified ToolboxItem.

CopyTo(ToolboxItem[], Int32)

Copies the collection to the specified array beginning with the specified destination index.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator()

Returns an enumerator that iterates through the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IndexOf(ToolboxItem)

Gets the index of the specified ToolboxItem, if it exists in the collection.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

Copies the entire ReadOnlyCollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array.

(Inherited from ReadOnlyCollectionBase)
ICollection.IsSynchronized

Gets a value indicating whether access to a ReadOnlyCollectionBase object is synchronized (thread safe).

(Inherited from ReadOnlyCollectionBase)
ICollection.SyncRoot

Gets an object that can be used to synchronize access to a ReadOnlyCollectionBase object.

(Inherited from ReadOnlyCollectionBase)

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to