Jaa


Entity.SetAttributeValue Method (String, Object)

 

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

Sets the value of an attribute.

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

Syntax

protected virtual void SetAttributeValue(
    string attributeLogicalName,
    object value
)
Protected Overridable Sub SetAttributeValue (
    attributeLogicalName As String,
    value As Object
)

Parameters

Examples

record.SetAttributeValue("new_recipename", "Chocolate Tart");

See Also

Entity Class
Microsoft.Xrm.Sdk Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright