LabeledMapLocation Constructor (String, GeoCoordinate)
Namespace: Microsoft.Phone.Tasks
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
'Declaration
Public Sub New ( _
label As String, _
location As GeoCoordinate _
)
public LabeledMapLocation(
string label,
GeoCoordinate location
)
public:
LabeledMapLocation(
String^ label,
GeoCoordinate^ location
)
new :
label:string *
location:GeoCoordinate -> LabeledMapLocation
Parameters
- label
Type: System.String
- location
Type: System.Device.Location.GeoCoordinate
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.