ConsumerConnectionPointCollection Class

Definition

Represents a collection of connection points for a control in a Web Parts zone acting as a consumer. This class cannot be inherited.

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

Remarks

A control in a Web Parts zone acting as a consumer can connect to only one provider by default. However, when the AllowsMultipleConnections property is set to true, multiple providers can connect to the consumer.

Note that this class inherits from the ReadOnlyCollectionBase class, making this collection a strongly typed, non-generic, read-only collection. You cannot add or remove members after an instance has been created.

Constructors

ConsumerConnectionPointCollection()

Initializes a new instance of the ConsumerConnectionPointCollection class.

ConsumerConnectionPointCollection(ICollection)

Initializes a new instance of the ConsumerConnectionPointCollection class using the specified collection of connection points.

Properties

Count

Gets the number of elements contained in the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
Default

Gets the default consumer connection point.

InnerList

Gets the list of elements contained in the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
Item[Int32]

Gets the item in the collection at the location specified by the integer value.

Item[String]

Gets the connection point with the specified ID property.

Methods

Contains(ConsumerConnectionPoint)

Determines whether the specified ConsumerConnectionPoint object is in the collection.

CopyTo(ConsumerConnectionPoint[], Int32)

Copies all the items from the ConsumerConnectionPointCollection collection to a compatible one-dimensional array of ConsumerConnectionPoint objects, starting at the specified index in the target array.

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(ConsumerConnectionPoint)

Determines the index of the specified ConsumerConnectionPoint object 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