Share via


Entity.Id Property

 

Applies To: Dynamics CRM 2015

Gets or sets the ID of the record represented by this entity instance.

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

Syntax

[DataMemberAttribute]
public virtual Guid Id { get; set; }
public:
[DataMemberAttribute]
property Guid Id {
    virtual Guid get();
    virtual void set(Guid value);
}
[<DataMemberAttribute>]
abstract Id : Guid with get, set
[<DataMemberAttribute>]
override Id : Guid with get, set
<DataMemberAttribute>
Public Overridable Property Id As Guid

Property Value

Type: System.Guid

Type: Guid
The ID of the record (entity instance).

See Also

Entity Class
Microsoft.Xrm.Sdk Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright