Szerkesztés

Megosztás a következőn keresztül:


DsmlRequestDocument.IndexOf(DirectoryRequest) Method

Definition

The IndexOf(DirectoryRequest) method returns the zero-based index of the first occurrence of the specified DirectoryRequest object in the DsmlRequestDocument collection.

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

Parameters

value
DirectoryRequest

The DirectoryRequest object for which the index is returned.

Returns

The index value of the specified DirectoryRequest object, if found; otherwise, -1.

Exceptions

value is null reference (Nothing in Visual Basic).

Applies to