Entity.Contains Method (String)

 

Applies To: Dynamics CRM 2015

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)

Syntax

public bool Contains(
    string attributeName
)
public:
bool Contains(
    String^ attributeName
)
member Contains : 
        attributeName:string -> bool
Public Function Contains (
    attributeName As String
) As Boolean

Parameters

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

© 2016 Microsoft. All rights reserved. Copyright