ProfileGroupSettingsCollection.IndexOf(ProfileGroupSettings) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳指定 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 物品。
傳回
指定物件的索引 ProfileGroupSettings ,或 -1 如果指定 ProfileGroupSettings 物件不包含在集合中。