Show / Hide Table of Contents

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
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
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.
In This Article
Back to top Copyright © 2022 Esri.