Method SetAttributeValue
SetAttributeValue(String, Object)
Updates an attribute of the feature with a given value.
Declaration
public void SetAttributeValue(string attributeName, object attributeValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | attributeName | The name of the attribute. |
System.Object | attributeValue | Value to be set on the attribute. See Attributes for details on acceptable values. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
SetAttributeValue(Field, 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.Object | attributeValue | Value to be set on the attribute. See Attributes for details on acceptable values. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | field |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |