EntityExtensions.SetAttributeValue Method (Entity, String, Object)

 

Applies To: Dynamics CRM 2013

Modifies the value of an attribute.

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

Syntax

public static void SetAttributeValue(
    this Entity entity,
    string attributeLogicalName,
    object value
)
public:
[ExtensionAttribute]
static void SetAttributeValue(
    Entity^ entity,
    String^ attributeLogicalName,
    Object^ value
)
static member SetAttributeValue : 
        entity:Entity *
        attributeLogicalName:string *
        value:Object -> unit
<ExtensionAttribute>
Public Shared Sub SetAttributeValue (
    entity As Entity,
    attributeLogicalName As String,
    value As Object
)

Parameters

Remarks

Extends the core SetAttributeValue method.

See Also

SetAttributeValue Overload
EntityExtensions Class
Microsoft.Xrm.Client Namespace

Return to top