ProfilePropertySettingsCollection.Get Yöntem

Tanım

Döndürür bir ProfileSection nesne.

Aşırı Yüklemeler

Get(Int32)

ProfileSection Belirtilen dizindeki nesneyi döndürür.

Get(String)

ProfileSection Belirtilen ada sahip nesneyi döndürür.

Get(Int32)

ProfileSection Belirtilen dizindeki nesneyi döndürür.

C#
public System.Web.Configuration.ProfilePropertySettings Get(int index);

Parametreler

index
Int32

Alınacak dizini ProfileSection .

Döndürülenler

ProfileSection Belirtilen dizindeki nesne veya null bu dizinde nesne yoksa.

Ayrıca bkz.

Şunlara uygulanır

.NET Framework 4.8.1 ve diğer sürümler
Ürün Sürümler
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Get(String)

ProfileSection Belirtilen ada sahip nesneyi döndürür.

C#
public System.Web.Configuration.ProfilePropertySettings Get(string name);

Parametreler

name
String

Alınacak öğesinin ProfileSection adı.

Döndürülenler

ProfileSection Belirtilen ada sahip nesne veya null ad yoksa.

Ayrıca bkz.

Şunlara uygulanır

.NET Framework 4.8.1 ve diğer sürümler
Ürün Sürümler
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1