語言

ProfilePropertySettingsCollection.Get 方法

定義

傳回 ProfileSection 物件。

多載

名稱 Description
Get(Int32)

回傳 ProfileSection 指定的索引物件。

Get(String)

回傳 ProfileSection 指定名稱的物件。

Get(Int32)

回傳 ProfileSection 指定的索引物件。

public:
 System::Web::Configuration::ProfilePropertySettings ^ Get(int index);
public System.Web.Configuration.ProfilePropertySettings Get(int index);
member this.Get : int -> System.Web.Configuration.ProfilePropertySettings
Public Function Get (index As Integer) As ProfilePropertySettings

參數

index
Int32

要取得的指數 ProfileSection 。

傳回

該物件位於 ProfileSection 指定索引,或 null 若該索引中沒有物件。

另請參閱

適用於

Get(String)

回傳 ProfileSection 指定名稱的物件。

public:
 System::Web::Configuration::ProfilePropertySettings ^ Get(System::String ^ name);
public System.Web.Configuration.ProfilePropertySettings Get(string name);
member this.Get : string -> System.Web.Configuration.ProfilePropertySettings
Public Function Get (name As String) As ProfilePropertySettings

參數

name
String

要取得的名稱 ProfileSection 。

傳回

該物件名稱 ProfileSection 為指定名稱,或 null 若該名稱不存在。

另請參閱

適用於