Share via


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

こちらもご覧ください

適用対象