Show / Hide Table of Contents

Property Uri

Uri

Gets the URI of the picture marker symbol.

Declaration
public Uri? Uri { get; }
Property Value
Type Description
Uri

The URI of the picture marker symbol.

Remarks

The URI is the address location of where the image is being stored. This address can come from an online source or from a locally stored location. In order to use a PictureMarkerSymbol from a URI, the symbol must be loaded asynchronously. Any properties that are changed while this symbol is loading will persist once the image has loaded.

If this symbol was created from a URI, this property has a value; it can be changed as long as the symbol has not been used yet. If this symbol was created from image data instead, this property is null and it cannot be set.

Exceptions
Type Condition
InvalidOperationException

This symbol was created from image data and its Uri cannot be set.

ArgumentNullException

Property cannot be set to null.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.