ProfileGroupSettingsCollection.IndexOf(ProfileGroupSettings) メソッド

定義

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

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

パラメーター

group
ProfileGroupSettings

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

戻り値

Int32

指定した ProfileGroupSettings オブジェクトのインデックス。指定した ProfileGroupSettings オブジェクトがコレクションに格納されていない場合は -1。

適用対象

こちらもご覧ください