SearchResultReferenceCollection.IndexOf(SearchResultReference) 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(SearchResultReference) method returns the zero-based index of the first occurrence of the specified SearchResultReference object in SearchResultReferenceCollection.
public:
int IndexOf(System::DirectoryServices::Protocols::SearchResultReference ^ value);
public int IndexOf (System.DirectoryServices.Protocols.SearchResultReference value);
member this.IndexOf : System.DirectoryServices.Protocols.SearchResultReference -> int
Public Function IndexOf (value As SearchResultReference) As Integer
Parameters
- value
- SearchResultReference
The SearchResultReference object for which the index is returned.
Returns
The index value of the specified SearchResultReference object, if found. If the object is not found, this method returns -1.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.