ProfileGroupSettingsCollection.Get 方法

定義

傳回 ProfileGroupSettings 物件。

多載

名稱 Description
Get(Int32)

回傳 ProfileGroupSettings 指定的索引物件。

Get(String)

回傳 ProfileGroupSettings 指定名稱的物件。

Get(Int32)

回傳 ProfileGroupSettings 指定的索引物件。

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

參數

index
Int32

要取得的物件的 ProfileGroupSettings 索引。

傳回

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

另請參閱

適用於

Get(String)

回傳 ProfileGroupSettings 指定名稱的物件。

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

參數

name
String

要取得的物品名稱 ProfileGroupSettings

傳回

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

另請參閱

適用於