Compartilhar via


ApplicationPartitionCollection.Contains(ApplicationPartition) Método

Definição

Determina se o objeto ApplicationPartition especificado está nesta coleção.

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

Parâmetros

applicationPartition
ApplicationPartition

O objeto ApplicationPartition a ser pesquisado nesta coleção.

Retornos

true se o ApplicationPartition estiver nesta coleção, caso contrário, false.

Exceções

applicationPartition é null.

Aplica-se a

Confira também