Share via


ProfilePropertySettingsCollection.Item[] 屬性

定義

取得或設定指定的 ProfilePropertySettings 物件。

多載

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 物件。

另請參閱

適用於