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, если имя не существует.

См. также раздел

Применяется к