ProviderConnectionPointCollection コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ProviderConnectionPointCollection クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| ProviderConnectionPointCollection() |
ProviderConnectionPointCollection クラスの空の新しいインスタンスを初期化します。 |
| ProviderConnectionPointCollection(ICollection) |
指定したプロバイダー接続ポイントのコレクションを使用して、 ProviderConnectionPointCollection クラスの新しいインスタンスを初期化します。 |
注釈
ProviderConnectionPointCollection クラスの新しいインスタンスをコードから直接作成することもできますが、クラスはReadOnlyCollectionBase クラスから継承されるため、新しいコレクションは読み取り専用であり、作成後にメンバーを追加または削除することはできません。
ProviderConnectionPointCollection()
ProviderConnectionPointCollection クラスの空の新しいインスタンスを初期化します。
public:
ProviderConnectionPointCollection();
public ProviderConnectionPointCollection();
Public Sub New ()
注釈
このコンストラクターは、コレクション内に項目がない ProviderConnectionPointCollection クラスの新しいインスタンスを作成します。
こちらもご覧ください
適用対象
ProviderConnectionPointCollection(ICollection)
指定したプロバイダー接続ポイントのコレクションを使用して、 ProviderConnectionPointCollection クラスの新しいインスタンスを初期化します。
public:
ProviderConnectionPointCollection(System::Collections::ICollection ^ connectionPoints);
public ProviderConnectionPointCollection(System.Collections.ICollection connectionPoints);
new System.Web.UI.WebControls.WebParts.ProviderConnectionPointCollection : System.Collections.ICollection -> System.Web.UI.WebControls.WebParts.ProviderConnectionPointCollection
Public Sub New (connectionPoints As ICollection)
パラメーター
- connectionPoints
- ICollection
コレクションの作成に使用ICollectionオブジェクトのProviderConnectionPoint。
例外
connectionPoints は nullです。
コレクションに null 接続ポイントが含まれています。
-又は-
コレクションには、 ProviderConnectionPoint型ではないオブジェクトが含まれています。
-又は-
接続ポイントのコレクションに重複する ID があります。
注釈
このコンストラクターは、 ProviderConnectionPointCollection クラスの新しいインスタンスを作成し、 connectionPoints パラメーターに含まれる接続ポイントを追加します。
このコンストラクターを使用して、既存のICollection オブジェクトのProviderConnectionPoint コレクションを作成し、そのコレクションを ProviderConnectionPointCollection(ICollection) コンストラクターに渡すことで、プロバイダー接続ポイントの独自のコレクション オブジェクトを作成できます。 ただし、コントロールを拡張しない限り、独自のコレクションを作成する必要はほとんどありません。 WebPartManager コントロールには、プロバイダー接続ポイントに関連する最も一般的な操作 ( GetProviderConnectionPoints メソッドを含む) に必要なメソッドが用意されているためです。