Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Entity.Contains(String) Method

Definition

Namespace:
Microsoft.Xrm.Sdk
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

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

Parameters

attributeName
String

The logical name of the attribute.

Returns

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

Applies to