CrmEntity.SetAttributeValue<T> Method (String, 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,
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
propertyName
Type: System.StringType: String. The name of the property to set.
attributeLogicalName
Type: System.StringType: String. The logical name of the attribute.
entityLogicalName
Type: System.StringType: String. The logical name of the entity.
value
Type: System.ObjectType: Object. The attribute value.
Type Parameters
- T
Type: Entity. The entity.
See Also
SetAttributeValue Overload
CrmEntity Class
Microsoft.Xrm.Client Namespace
Return to top
© 2017 Microsoft. All rights reserved. Copyright