ConsumerConnectionPointCollection ConsumerConnectionPointCollection ConsumerConnectionPointCollection 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
ConsumerConnectionPointCollectionConsumerConnectionPointCollectionConsumerConnectionPointCollectionConsumerConnectionPointCollection

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

Initializes a new instance of the ConsumerConnectionPointCollection class.

ConsumerConnectionPointCollection(ICollection) ConsumerConnectionPointCollection(ICollection) ConsumerConnectionPointCollection(ICollection) ConsumerConnectionPointCollection(ICollection)

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

Properties

Count Count Count Count

Gets the number of elements contained in the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
Default Default Default Default

Gets the default consumer connection point.

ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

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

(Inherited from ReadOnlyCollectionBase)
ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

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

(Inherited from ReadOnlyCollectionBase)
InnerList InnerList InnerList InnerList

Gets the list of elements contained in the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
Item[Int32] Item[Int32] Item[Int32] Item[Int32]

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

Item[String] Item[String] Item[String] Item[String]

Gets the connection point with the specified ID property.

Methods

Contains(ConsumerConnectionPoint) Contains(ConsumerConnectionPoint) Contains(ConsumerConnectionPoint) Contains(ConsumerConnectionPoint)

Determines whether the specified ConsumerConnectionPoint object is in the collection.

CopyTo(ConsumerConnectionPoint[], Int32) CopyTo(ConsumerConnectionPoint[], Int32) CopyTo(ConsumerConnectionPoint[], Int32) 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) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
IndexOf(ConsumerConnectionPoint) IndexOf(ConsumerConnectionPoint) IndexOf(ConsumerConnectionPoint) IndexOf(ConsumerConnectionPoint)

Determines the index of the specified ConsumerConnectionPoint object in the collection.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) 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)

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to