WebPartDescriptionCollectionとは? わかりやすく解説

WebPartDescriptionCollection クラス

メモ : このクラスは、.NET Framework version 2.0 で新しく追加されたものです。

WebPart コントロールのカタログで使用する WebPartDescription オブジェクトのコレクションを構成します。このクラスは継承できません。

名前空間: System.Web.UI.WebControls.WebParts
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public NotInheritable Class
 WebPartDescriptionCollection
    Inherits ReadOnlyCollectionBase
Dim instance As WebPartDescriptionCollection
public sealed class WebPartDescriptionCollection
 : ReadOnlyCollectionBase
public ref class WebPartDescriptionCollection
 sealed : public ReadOnlyCollectionBase
public final class WebPartDescriptionCollection
 extends ReadOnlyCollectionBase
public final class WebPartDescriptionCollection
 extends ReadOnlyCollectionBase
解説解説
.NET Framework のセキュリティ.NET Framework のセキュリティ
継承階層継承階層
System.Object
   System.Collections.ReadOnlyCollectionBase
    System.Web.UI.WebControls.WebParts.WebPartDescriptionCollection
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
WebPartDescriptionCollection メンバ
System.Web.UI.WebControls.WebParts 名前空間
WebPartDescription クラス
その他の技術情報
ASP.NET Web パーツ ページ

WebPartDescriptionCollection コンストラクタ ()

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

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

名前空間: System.Web.UI.WebControls.WebParts
アセンブリ: System.Web (system.web.dll 内)
構文構文

Dim instance As New WebPartDescriptionCollection
public WebPartDescriptionCollection ()
public:
WebPartDescriptionCollection ()
public WebPartDescriptionCollection ()
public function WebPartDescriptionCollection
 ()
解説解説

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

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
WebPartDescriptionCollection クラス
WebPartDescriptionCollection メンバ
System.Web.UI.WebControls.WebParts 名前空間

WebPartDescriptionCollection コンストラクタ

WebPartDescriptionCollection クラスの新しいインスタンスを初期化します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
WebPartDescriptionCollection () WebPartDescriptionCollection クラスの新しい空のインスタンスを初期化します。
WebPartDescriptionCollection (ICollection) WebPartDescriptionCollection オブジェクトの新しいインスタンスを、WebPartDescription オブジェクトの ICollection コレクションで渡して初期化します。
参照参照

関連項目

WebPartDescriptionCollection クラス
WebPartDescriptionCollection メンバ
System.Web.UI.WebControls.WebParts 名前空間

WebPartDescriptionCollection コンストラクタ (ICollection)

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

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

名前空間: System.Web.UI.WebControls.WebParts
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public Sub New ( _
    webPartDescriptions As ICollection _
)
Dim webPartDescriptions As ICollection

Dim instance As New WebPartDescriptionCollection(webPartDescriptions)
public WebPartDescriptionCollection (
    ICollection webPartDescriptions
)
public:
WebPartDescriptionCollection (
    ICollection^ webPartDescriptions
)
public WebPartDescriptionCollection (
    ICollection webPartDescriptions
)
public function WebPartDescriptionCollection
 (
    webPartDescriptions : ICollection
)

パラメータ

webPartDescriptions

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

解説解説

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

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
WebPartDescriptionCollection クラス
WebPartDescriptionCollection メンバ
System.Web.UI.WebControls.WebParts 名前空間
GetAvailableWebPartDescriptions
その他の技術情報
ASP.NET Web パーツ ページ

WebPartDescriptionCollection プロパティ


パブリック プロパティパブリック プロパティ

プロテクト プロパティプロテクト プロパティ
  名前 説明
プロテクト プロパティ InnerList  ReadOnlyCollectionBase インスタンスに格納されている要素のリストを取得します。 ( ReadOnlyCollectionBase から継承されます。)
参照参照

関連項目

WebPartDescriptionCollection クラス
System.Web.UI.WebControls.WebParts 名前空間
WebPartDescription クラス

その他の技術情報

ASP.NET Web パーツ ページ

WebPartDescriptionCollection メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
参照参照

関連項目

WebPartDescriptionCollection クラス
System.Web.UI.WebControls.WebParts 名前空間
WebPartDescription クラス

その他の技術情報

ASP.NET Web パーツ ページ

WebPartDescriptionCollection メンバ

WebPart コントロールのカタログで使用する WebPartDescription オブジェクトのコレクションを構成します。このクラスは継承できません。

WebPartDescriptionCollection データ型で公開されるメンバを以下の表に示します。


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド WebPartDescriptionCollection オーバーロードされます。 WebPartDescriptionCollection クラスの新しいインスタンスを初期化します。
パブリック プロパティパブリック プロパティ
プロテクト プロパティプロテクト プロパティ
  名前 説明
プロテクト プロパティ InnerList  ReadOnlyCollectionBase インスタンスに格納されている要素のリストを取得します。(ReadOnlyCollectionBase から継承されます。)
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

WebPartDescriptionCollection クラス
System.Web.UI.WebControls.WebParts 名前空間
WebPartDescription クラス

その他の技術情報

ASP.NET Web パーツ ページ



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「WebPartDescriptionCollection」の関連用語

WebPartDescriptionCollectionのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



WebPartDescriptionCollectionのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS