WsiProfilesElementCollection.IndexOf(WsiProfilesElement) Метод

Определение

Возвращает индекс (с нуля) заданного объекта WsiProfilesElement в коллекции.

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

Параметры

element
WsiProfilesElement

Параметр WsiProfilesElement для поиска в коллекции.

Возвращаемое значение

Int32

Индекс (с нуля) заданного объекта WsiProfilesElement, либо значение -1, если не удалось обнаружить элемент в коллекции.

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