言語

WebPartDescriptionCollection コンストラクター

定義

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

オーバーロード

名前 説明
WebPartDescriptionCollection()

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

WebPartDescriptionCollection(ICollection)

WebPartDescriptionCollection オブジェクトのICollection コレクションを渡して、WebPartDescription オブジェクトの新しいインスタンスを初期化します。

WebPartDescriptionCollection()

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

public:
 WebPartDescriptionCollection();
public WebPartDescriptionCollection();
Public Sub New ()

注釈

WebPartDescriptionCollection コンストラクターのこのオーバーロードを使用して、空のコレクションを作成できます。 たとえば、インポートされた説明ファイルの内容がImportCatalogPartされている場合、WebPartDescriptionCollection コントロールは空のnull オブジェクトを作成します。

適用対象

WebPartDescriptionCollection(ICollection)

WebPartDescriptionCollection オブジェクトのICollection コレクションを渡して、WebPartDescription オブジェクトの新しいインスタンスを初期化します。

public:
 WebPartDescriptionCollection(System::Collections::ICollection ^ webPartDescriptions);
public WebPartDescriptionCollection(System.Collections.ICollection webPartDescriptions);
new System.Web.UI.WebControls.WebParts.WebPartDescriptionCollection : System.Collections.ICollection -> System.Web.UI.WebControls.WebParts.WebPartDescriptionCollection
Public Sub New (webPartDescriptions As ICollection)

パラメーター

webPartDescriptions
ICollection

カタログ内のWebPartDescription コントロールに対応するWebPart オブジェクトのコレクション。

例外

webPartDescriptionsnullです。

webPartDescriptionsのメンバーはnull

-又は-

webPartDescriptionsのメンバーが型のオブジェクトではありませんWebPartDescription

-又は-

webPartDescriptionsのメンバーに重複するID プロパティがあります。

注釈

WebPartDescriptionCollection(ICollection) コンストラクターは、さまざまなGetAvailableWebPartDescriptions コントロール内のCatalogPart メソッドの実装によって使用され、WebPartDescription オブジェクトのコレクションを作成します。

こちらもご覧ください

適用対象