Entity.SetAttributeValue(String, Object) Entity.SetAttributeValue(String, Object) Entity.SetAttributeValue(String, Object) Entity.SetAttributeValue(String, Object) Method

Definition

Sets the value of an attribute.

protected:
 virtual void SetAttributeValue(System::String ^ attributeLogicalName, System::Object ^ value);
protected virtual void SetAttributeValue (string attributeLogicalName, object value);
abstract member SetAttributeValue : string * obj -> unit
override this.SetAttributeValue : string * obj -> unit
Protected Overridable Sub SetAttributeValue (attributeLogicalName As String, value As Object)

Parameters

attributeLogicalName
String String String String

Type: String. The logical name of the attribute.

value
Object Object Object Object

Type: Object. The value to set.

Examples

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

Applies to