DirectoryAttributeCollection.IndexOf(DirectoryAttribute) Метод

Определение

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

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

Параметры

value
DirectoryAttribute

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

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

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

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