Back to Devexpress

BingMapDataProviderBase.BingKey Property

windowsforms-devexpress-dot-xtramap-dot-bingmapdataproviderbase.md

latest2.7 KB
Original Source

BingMapDataProviderBase.BingKey Property

Gets or sets the key that is required to connect to the Bing Maps data provider.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[DefaultValue("")]
public string BingKey { get; set; }
vb
<DefaultValue("")>
Public Property BingKey As String

Property Value

TypeDefaultDescription
StringString.Empty

A String that stores a Bing Maps key.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BingKey property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-map-execute-the-search-operation-for-multiple-locations/CS/GetSearchLocationAdditionalInfo/Form1.cs#L132

csharp
searchProvider.GenerateLayerItems = false;
searchProvider.BingKey = yourBingKey;
map.ShowSearchPanel = false;

winforms-map-execute-the-search-operation-for-multiple-locations/VB/GetSearchLocationAdditionalInfo/Form1.vb#L115

vb
searchProvider.GenerateLayerItems = False
searchProvider.BingKey = yourBingKey
map.ShowSearchPanel = False

See Also

BingMapDataProviderBase Class

BingMapDataProviderBase Members

DevExpress.XtraMap Namespace