TrustRelationshipInformationCollection.IndexOf 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.
Returns the index of the first occurrence of the specified TrustRelationshipInformation object in this collection.
public:
int IndexOf(System::DirectoryServices::ActiveDirectory::TrustRelationshipInformation ^ information);
public int IndexOf (System.DirectoryServices.ActiveDirectory.TrustRelationshipInformation information);
member this.IndexOf : System.DirectoryServices.ActiveDirectory.TrustRelationshipInformation -> int
Public Function IndexOf (information As TrustRelationshipInformation) As Integer
Parameters
- information
- TrustRelationshipInformation
The TrustRelationshipInformation object to search for in this collection.
Returns
The zero-based index of the first matching object. Returns -1 if no member of this collection is identical to the TrustRelationshipInformation object.
Exceptions
A call to the underlying directory service resulted in an error.
information
is null
.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor