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 или -1, если заданный объект ProfileGroupSettings отсутствует в коллекции.

Применяется к

См. также раздел