ConnectionInterfaceCollection ConnectionInterfaceCollection ConnectionInterfaceCollection ConnectionInterfaceCollection Class

Definition

Represents a collection of interfaces for use in Web Parts connections.

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

Remarks

Communication between a provider and consumer requires a contract defined in an interface. This collection contains all the communication interfaces supported by the consumer. The ProviderConnectionPoint.GetSecondaryInterfaces method returns a ConnectionInterfaceCollection object.

Constructors

ConnectionInterfaceCollection() ConnectionInterfaceCollection() ConnectionInterfaceCollection() ConnectionInterfaceCollection()

Initializes a new instance of the ConnectionInterfaceCollection class.

ConnectionInterfaceCollection(ConnectionInterfaceCollection, ICollection) ConnectionInterfaceCollection(ConnectionInterfaceCollection, ICollection) ConnectionInterfaceCollection(ConnectionInterfaceCollection, ICollection) ConnectionInterfaceCollection(ConnectionInterfaceCollection, ICollection)

Initializes a new instance of the ConnectionInterfaceCollection class by combining the two specified collections.

ConnectionInterfaceCollection(ICollection) ConnectionInterfaceCollection(ICollection) ConnectionInterfaceCollection(ICollection) ConnectionInterfaceCollection(ICollection)

Initializes a new instance of the ConnectionInterfaceCollection class with the specified collection.

Fields

Empty Empty Empty Empty

References a static, read-only instance of the ConnectionInterfaceCollection class.

Properties

Count Count Count Count

Gets the number of elements contained in the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
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 element at the specified index.

Methods

Contains(Type) Contains(Type) Contains(Type) Contains(Type)

Determines whether the ConnectionInterfaceCollection object contains a specific value.

CopyTo(Type[], Int32) CopyTo(Type[], Int32) CopyTo(Type[], Int32) CopyTo(Type[], Int32)

Copies the entire ReadOnlyCollectionBase object to a compatible one-dimensional Array, starting at the specified index of 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(Type) IndexOf(Type) IndexOf(Type) IndexOf(Type)

Searches for the specified object and returns the zero-based index of the first occurrence within the entire ConnectionInterfaceCollection 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