言語

WebPartZoneCollection.Item[] プロパティ

定義

位置または一意の識別子に従って、コレクションの特定のメンバーを返します。

オーバーロード

名前 説明
Item[Int32]

整数を渡して、コレクションの特定のメンバーを返します。

Item[String]

一意の識別子を渡すことによって、コレクションの特定のメンバーを返します。

Item[Int32]

整数を渡して、コレクションの特定のメンバーを返します。

public:
 property System::Web::UI::WebControls::WebParts::WebPartZoneBase ^ default[int] { System::Web::UI::WebControls::WebParts::WebPartZoneBase ^ get(int index); };
public System.Web.UI.WebControls.WebParts.WebPartZoneBase this[int index] { get; }
member this.Item(int) : System.Web.UI.WebControls.WebParts.WebPartZoneBase
Default Public ReadOnly Property Item(index As Integer) As WebPartZoneBase

パラメーター

index
Int32

コレクション内の特定の WebPartZone のインデックス番号。

プロパティ値

コレクション内の指定したインデックス位置にある WebPartZone

注釈

Item[] プロパティを使用すると、コレクション内の序数を表すインデックス番号を使用して、WebPartZone コレクション内のWebPartZoneCollection オブジェクトにアクセスできます。

こちらもご覧ください

適用対象

Item[String]

一意の識別子を渡すことによって、コレクションの特定のメンバーを返します。

public:
 property System::Web::UI::WebControls::WebParts::WebPartZoneBase ^ default[System::String ^] { System::Web::UI::WebControls::WebParts::WebPartZoneBase ^ get(System::String ^ id); };
public System.Web.UI.WebControls.WebParts.WebPartZoneBase this[string id] { get; }
member this.Item(string) : System.Web.UI.WebControls.WebParts.WebPartZoneBase
Default Public ReadOnly Property Item(id As String) As WebPartZoneBase

パラメーター

id
String

コレクション内の特定の WebPartZone の一意識別子。

プロパティ値

ID が WebPartZone の値と等しいコレクション内の最初のid

注釈

Item[] プロパティを使用すると、特定のゾーンの文字列識別子を使用して、WebPartZone コレクション内のWebPartZoneCollection オブジェクトにアクセスできます。 文字列識別子に対するすべての照合では、大文字と小文字が区別されません。

こちらもご覧ください

適用対象