Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MapsTask.SearchTerm Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the search term that is used to find and tag locations on the map.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

public string SearchTerm { get; set; }
<object SearchTerm="string" .../>

Property Value

Type: System.String
Type: String. The search term used to find and tag locations on the map.

You must set either the SearchTerm property or the Center property before calling Show() or an InvalidOperationException will be thrown.

Windows Phone OS

Supported in: 8.1, 8.0

Show: