Method GetAttributeValue
GetAttributeValue(String)
Looks up attribute by name and returns its current value.
Declaration
public object GetAttributeValue(string attributeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | attributeName | The name of the attribute. |
Returns
Type | Description |
---|---|
System.Object | The current value of the attribute expressed as an System.Object. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
GetAttributeValue(Field)
Looks up attribute by Field and returns its current value.
Declaration
public object GetAttributeValue(Field field)
Parameters
Type | Name | Description |
---|---|---|
Field | field | The Field that corresponds to the attribute. |
Returns
Type | Description |
---|---|
System.Object | The current value of the attribute expressed as an System.Object. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | field |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |