Share via

Entity.Contains Method (String)


Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

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


public bool Contains(
    string attributeName
Public Function Contains (
    attributeName As String
) As Boolean


Return Value

Type: System.Boolean

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

See Also

Entity Class
Microsoft.Xrm.Sdk Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright