Returns a new marker symbol object using the specified URL.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public static Symbol CreateMarker(
	Uri uri
)
Visual Basic (Declaration)
Public Shared Function CreateMarker ( _
	uri As Uri _
) As Symbol

Parameters

uri
Type: System..::.Uri

A Uri object that represents a Uniform Resource Identifier and consists of a string used to identify the marker symbol on the Internet.

Return Value

A new Symbol object that can be used to represent a point on the map.

Remarks

This overload can be used to create a new marker symbol by passing in a Uri object as the url parameter. The Uri class is part of the .NET Framework, represents a uniform resource identifier (URI). Using this class when creating a link to a web resource can help make code more robust by throwing exceptions if the resource address specified is formatted incorrectly; for more information refer to the Exception section of the help for the Uri members.

See Also