Redigera

Dela via


AttributeMetadataCollection.Contains(AttributeMetadata) Method

Definition

Determines if the specified AttributeMetadata object is in this collection.

public:
 bool Contains(System::DirectoryServices::ActiveDirectory::AttributeMetadata ^ metadata);
public bool Contains (System.DirectoryServices.ActiveDirectory.AttributeMetadata metadata);
member this.Contains : System.DirectoryServices.ActiveDirectory.AttributeMetadata -> bool
Public Function Contains (metadata As AttributeMetadata) As Boolean

Parameters

metadata
AttributeMetadata

The AttributeMetadata object to search for in this collection.

Returns

true if the AttributeMetadata is in this collection, otherwise, false.

Exceptions

metadata is null.

Applies to

See also