ProfilePropertySettingsCollection.Get Metod

Definition

Returnerar ett ProfileSection objekt.

Överlagringar

Name Description
Get(Int32)

Returnerar objektet ProfileSection vid det angivna indexet.

Get(String)

Returnerar objektet ProfileSection med det angivna namnet.

Get(Int32)

Returnerar objektet ProfileSection vid det angivna indexet.

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

Parametrar

index
Int32

Indexet för att ProfileSection hämta.

Returer

Objektet ProfileSection i det angivna indexet eller null om det inte finns något objekt i indexet.

Se även

Gäller för

Get(String)

Returnerar objektet ProfileSection med det angivna namnet.

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

Parametrar

name
String

Namnet på det som ska hämtas ProfileSection .

Returer

Objektet ProfileSection med det angivna namnet eller null om namnet inte finns.

Se även

Gäller för