ProviderConnectionPointCollection クラス

定義

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

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

注釈

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

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

Note

このクラスは 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)

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

(継承元 ReadOnlyCollectionBase)
ICollection.IsSynchronized

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

(継承元 ReadOnlyCollectionBase)
ICollection.SyncRoot

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

(継承元 ReadOnlyCollectionBase)

拡張メソッド

名前 説明
AsParallel(IEnumerable)

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

AsQueryable(IEnumerable)

IEnumerableIQueryableに変換します。

Cast<TResult>(IEnumerable)

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

OfType<TResult>(IEnumerable)

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

適用対象

こちらもご覧ください