DsmlRequestDocument.IndexOf(DirectoryRequest) Метод

Определение

Метод IndexOf(DirectoryRequest) возвращает отсчитываемый от нуля индекс первого вхождения указанного DirectoryRequest объекта в DsmlRequestDocument коллекции.

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

Параметры

value
DirectoryRequest

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

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

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

Исключения

value имеет ссылку null (Nothing в Visual Basic).

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