Compartilhar via


Método DataCollection.Contains (TKey)

Aplica-se a: CRM 2015 on-prem, CRM Online

Determines whether the DataCollection contains a specific value.

Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (em Microsoft.Xrm.Sdk.dll)

Sintaxe

'Declaração
Public Function Contains ( _
    key As TKey _
) As Boolean
public bool Contains (
    TKey key
)

Parâmetros

  • key
    Type: TKey. The key to locate in the collection.

Valor de Retorno

Type: Booleano
true if item is found in the DataCollection; otherwise, false.

Segurança do Thread

Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows Server 2003 e

Plataformas de destino

Windows Vista,Windows XP

Consulte também

Referência

Classe genérica DataCollection
Membros de DataCollection
Namespace Microsoft.Xrm.Sdk

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.