Méthode Entity.Contains

S'applique à: CRM 2015 on-prem, CRM Online

Checks to see if there is a value present for the specified attribute.

Espace de noms: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)

Syntaxe

'Déclaration
Public Function Contains ( _
    attributeName As String _
) As Boolean
public bool Contains (
    string attributeName
)

Paramètres

  • attributeName
    Type: Chaîne. The logical name of the attribute.

Valeur renvoyée

Type: Booléen
true if the Entity contains an attribute with the specified name; otherwise, false.

Cohérence de thread

Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.

Plateformes

Plateformes de développement

Windows Vista, Windows Server 2003 et

Plateformes cibles

Windows Vista,Windows XP

Voir aussi

Référence

Classe Entity
Membres Entity
Espace de noms Microsoft.Xrm.Sdk

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