TrustRelationshipInformationCollection.Contains 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.
Determines if the specified TrustRelationshipInformation object is contained in this collection.
public:
bool Contains(System::DirectoryServices::ActiveDirectory::TrustRelationshipInformation ^ information);
public bool Contains (System.DirectoryServices.ActiveDirectory.TrustRelationshipInformation information);
member this.Contains : System.DirectoryServices.ActiveDirectory.TrustRelationshipInformation -> bool
Public Function Contains (information As TrustRelationshipInformation) As Boolean
Parameters
- information
- TrustRelationshipInformation
The TrustRelationshipInformation object to search for in this collection.
Returns
true
if the specified object is in this collection; otherwise, false
.
Exceptions
information
is null
.