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