BingMapsTask.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.
Syntax
Public Property SearchTerm As String
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.
Remarks
You must set either the SearchTerm property or the Center property before calling Show()()() or an InvalidOperationException will be thrown.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone
See Also
Reference
Microsoft.Phone.Tasks Namespace