Property Attributes
Attributes
Gets the attributes of the GeoElement as a collection of name/value pairs.
Declaration
public IDictionary<string, object> Attributes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | All attributes of the geo element. |
Remarks
There are limitations on the types of values that can be stored. Types that can be stored are System.String, System.Guid, System.DateTime, System.DateTimeOffset, System.Boolean, System.Single, System.Double, and most integral types (signed and unsigned System.Int16, System.Int32, and System.Int64). Attempting to set a value of any other type will result in an System.ArgumentException.
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.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
Relevant samples
Create, delete, and update features: Add, delete, and update features (geometry and attributes) in a feature layer.
Buffer list: Generate multiple individual buffers or a single unioned buffer around multiple points.
Convex hull: Create a convex hull for a given set of points. The convex hull is a polygon with shortest perimeter that encloses a set of points. As a visual analogy, consider a set of points as nails in a board. The convex hull of the points would be like a rubber band stretched around the outermost nails.