共用方式為


CrmEntity.SetAttributeValue<T> Method (String, String, 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

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

Parameters

Type Parameters

See Also

SetAttributeValue Overload
CrmEntity Class
Microsoft.Xrm.Client Namespace

Return to top