Method SetAttributeValue
SetAttributeValue(String, Nullable<Object>)
Looks up attribute by name and updates attribute to the specified value.
Declaration
public void SetAttributeValue(string attributeName, object? attributeValue)
Parameters
Type | Name | Description |
---|---|---|
String | attributeName | The name of the attribute. |
System. |
attributeValue | Value to be set on the attribute. See Attributes for details on acceptable values. |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |
SetAttributeValue(Field, Nullable<Object>)
Looks up attribute by Field and updates attribute to the specified value.
Declaration
public void SetAttributeValue(Field field, object? attributeValue)
Parameters
Type | Name | Description |
---|---|---|
Field | field | The Field that corresponds to the attribute. |
System. |
attributeValue | Value to be set on the attribute. See Attributes for details on acceptable values. |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |