CrmEntity.SetAttributeValue<T> Method (String, String, Object)

 

Applies To: Dynamics CRM 2015

Modifies the value of an attribute.

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

Syntax

protected virtual void SetAttributeValue<T>(
    string propertyName,
    string attributeLogicalName,
    object value
)
protected:
generic<typename T>
virtual void SetAttributeValue(
    String^ propertyName,
    String^ attributeLogicalName,
    Object^ value
)
abstract SetAttributeValue<'T> : 
        propertyName:string *
        attributeLogicalName:string *
        value:Object -> unit
override SetAttributeValue<'T> : 
        propertyName:string *
        attributeLogicalName:string *
        value:Object -> unit
Protected Overridable Sub SetAttributeValue(Of T) (
    propertyName As String,
    attributeLogicalName As String,
    value As Object
)

Parameters

Type Parameters

Remarks

Extends the core SetAttributeValue method.

See Also

SetAttributeValue Overload
CrmEntity Class
Microsoft.Xrm.Client Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright