语言

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 对象的索引;如果集合中不包含指定 ProfileGroupSettings 对象,则 -1。

适用于

另请参阅