言語

ProfilePropertySettingsCollection.IndexOf(ProfilePropertySettings) メソッド

定義

指定した ProfilePropertySettings オブジェクトのインデックスを返します。

public:
 int IndexOf(System::Web::Configuration::ProfilePropertySettings ^ propertySettings);
public int IndexOf(System.Web.Configuration.ProfilePropertySettings propertySettings);
member this.IndexOf : System.Web.Configuration.ProfilePropertySettings -> int
Public Function IndexOf (propertySettings As ProfilePropertySettings) As Integer

パラメーター

propertySettings
ProfilePropertySettings

コレクション内の ProfilePropertySettings オブジェクト。

返品

指定した ProfilePropertySettings オブジェクトのインデックス。オブジェクトがコレクション内に見つからない場合は -1。

適用対象

こちらもご覧ください