DsmlRequestDocument.IndexOf(DirectoryRequest) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).