語言

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 物品。

傳回

指定物件的索引 ProfileGroupSettings ,或 -1 如果指定 ProfileGroupSettings 物件不包含在集合中。

適用於

另請參閱