ProviderConnectionPointCollection クラス

定義

接続のプロバイダーとして機能している特定の WebPart またはサーバー コントロールに関連付けられているすべての ProviderConnectionPoint オブジェクトのコレクションを格納します。 このクラスは継承できません。

public ref class ProviderConnectionPointCollection sealed : System::Collections::ReadOnlyCollectionBase
public sealed class ProviderConnectionPointCollection : System.Collections.ReadOnlyCollectionBase
type ProviderConnectionPointCollection = class
    inherit ReadOnlyCollectionBase
Public NotInheritable Class ProviderConnectionPointCollection
Inherits ReadOnlyCollectionBase
継承
ProviderConnectionPointCollection

注釈

WebPartWeb パーツ接続でプロバイダーとして機能するまたはサーバーコントロールは、複数のプロバイダー接続ポイントを持つことができます。 プロバイダー内の1つのオブジェクトは、 ProviderConnectionPoint 特定の接続の接続ポイントとして機能し、1つまたは複数のコンシューマーに渡すプライマリインターフェイスインスタンスとして機能します。

クラスには、 ProviderConnectionPointCollection プロバイダーコントロールに関連付けられているすべてのコネクションポイントのコレクションが含まれます。 Web パーツコントロールセット内のいくつかのクラスは、プロバイダーコントロールで使用できる接続ポイントを特定する必要があります。また、通常は、 GetProviderConnectionPoints コレクションを返すメソッドを呼び出します ProviderConnectionPointCollection

注意

このクラスは、クラスから継承し ReadOnlyCollectionBase 、このコレクションを厳密に型指定された非ジェネリック読み取り専用コレクションにします。 インスタンスの作成後にメンバーを追加または削除することはできません。

コンストラクター

ProviderConnectionPointCollection()

ProviderConnectionPointCollection クラスの新しい空のインスタンスを初期化します。

ProviderConnectionPointCollection(ICollection)

プロバイダー コネクション ポイントのコレクションを指定して、ProviderConnectionPointCollection クラスの新しいインスタンスを初期化します。

プロパティ

Count

ReadOnlyCollectionBase インスタンスに含まれる要素の数を取得します。

(継承元 ReadOnlyCollectionBase)
Default

特定のコントロールに関連付けられているプロバイダー コネクション ポイントのコレクションから、既定のコネクション ポイントを取得します。

InnerList

ReadOnlyCollectionBase インスタンスに格納されている要素のリストを取得します。

(継承元 ReadOnlyCollectionBase)
Item[Int32]

コレクションにおける位置に基づいてコレクションのメンバーを取得します。

Item[String]

一意の文字列識別子に基づいてコレクションのメンバーを取得します。

メソッド

Contains(ProviderConnectionPoint)

特定の ProviderConnectionPoint オブジェクトがコレクション内に存在するかどうかを示す値を返します。

CopyTo(ProviderConnectionPoint[], Int32)

コレクションを ProviderConnectionPoint オブジェクトの配列にコピーします。

Equals(Object)

指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetEnumerator()

ReadOnlyCollectionBase インスタンスを反復処理する列挙子を返します。

(継承元 ReadOnlyCollectionBase)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
IndexOf(ProviderConnectionPoint)

コレクション内の特定の ProviderConnectionPoint オブジェクトの位置を返します。

MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

明示的なインターフェイスの実装

ICollection.CopyTo(Array, Int32)

ReadOnlyCollectionBase 全体を互換性のある 1 次元の Array にコピーします。コピー操作は、コピー先の配列の指定したインデックスから始まります。

(継承元 ReadOnlyCollectionBase)
ICollection.IsSynchronized

ReadOnlyCollectionBase オブジェクトへのアクセスが同期されている (スレッド セーフである) かどうかを示す値を取得します。

(継承元 ReadOnlyCollectionBase)
ICollection.SyncRoot

ReadOnlyCollectionBase オブジェクトへのアクセスを同期するために使用できるオブジェクトを取得します。

(継承元 ReadOnlyCollectionBase)

拡張メソッド

Cast<TResult>(IEnumerable)

IEnumerable の要素を、指定した型にキャストします。

OfType<TResult>(IEnumerable)

指定された型に基づいて IEnumerable の要素をフィルター処理します。

AsParallel(IEnumerable)

クエリの並列化を有効にします。

AsQueryable(IEnumerable)

IEnumerableIQueryable に変換します。

適用対象

こちらもご覧ください