Entity.SetAttributeValue(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The logical name of the attribute.
- value
- Object
The value to set.
Examples
record.SetAttributeValue("new_recipename", "Chocolate Tart");