ProfileGroupSettingsCollection.Item[] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定物件 ProfileGroupSettings 。
多載
| 名稱 | Description |
|---|---|
| Item[Int32] |
取得或設定 ProfileGroupSettings 物件在指定的索引位置。 |
| Item[String] |
取得或設定 ProfileGroupSettings 指定名稱的物件。 |
Item[Int32]
取得或設定 ProfileGroupSettings 物件在指定的索引位置。
public:
property System::Web::Configuration::ProfileGroupSettings ^ default[int] { System::Web::Configuration::ProfileGroupSettings ^ get(int index); void set(int index, System::Web::Configuration::ProfileGroupSettings ^ value); };
public System.Web.Configuration.ProfileGroupSettings this[int index] { get; set; }
member this.Item(int) : System.Web.Configuration.ProfileGroupSettings with get, set
Default Public Property Item(index As Integer) As ProfileGroupSettings
參數
- index
- Int32
集合中物件 ProfileGroupSettings 的索引。
屬性值
該物件位於 ProfileGroupSettings 指定索引,或 null 若該索引中沒有物件。
另請參閱
適用於
Item[String]
取得或設定 ProfileGroupSettings 指定名稱的物件。
public:
property System::Web::Configuration::ProfileGroupSettings ^ default[System::String ^] { System::Web::Configuration::ProfileGroupSettings ^ get(System::String ^ name); };
public System.Web.Configuration.ProfileGroupSettings this[string name] { get; }
member this.Item(string) : System.Web.Configuration.ProfileGroupSettings
Default Public ReadOnly Property Item(name As String) As ProfileGroupSettings
參數
- name
- String
集合中物件 ProfileGroupSettings 的名稱。
屬性值
指定名稱的 ProfileGroupSettings 物件,或 null 若不存在該名稱物件。