DirectoryControlCollection.IndexOf(DirectoryControl) Метод

Определение

Метод IndexOf(DirectoryControl) возвращает индекс (с нуля) первого вхождения указанного объекта DirectoryControl в коллекцию DirectoryControlCollection.

public:
 int IndexOf(System::DirectoryServices::Protocols::DirectoryControl ^ value);
public int IndexOf (System.DirectoryServices.Protocols.DirectoryControl value);
member this.IndexOf : System.DirectoryServices.Protocols.DirectoryControl -> int
Public Function IndexOf (value As DirectoryControl) As Integer

Параметры

value
DirectoryControl

Объект DirectoryControl, для которого возвращается индекс.

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

Значение индекса указанного объекта DirectoryControl, если он найден; в противном случае — -1.

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