WebPartDescriptionCollection コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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 オブジェクトのコレクション。
例外
webPartDescriptions は nullです。
webPartDescriptionsのメンバーはnull
-又は-
webPartDescriptionsのメンバーが型のオブジェクトではありませんWebPartDescription
-又は-
webPartDescriptionsのメンバーに重複するID プロパティがあります。
注釈
WebPartDescriptionCollection(ICollection) コンストラクターは、さまざまなGetAvailableWebPartDescriptions コントロール内のCatalogPart メソッドの実装によって使用され、WebPartDescription オブジェクトのコレクションを作成します。