语言

ProfilePropertySettingsCollection.Get 方法

定义

返回 ProfileSection 对象。

重载

名称 说明
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名称不存在。

另请参阅

适用于