Share via


MapCore.CredentialsProvider Property

 

Gets or sets the credentials (Bing Maps Key).

Namespace:   Microsoft.Maps.MapControl.WPF
Assembly:  Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)

Syntax

[TypeConverterAttribute(typeof(ApplicationIdCredentialsProviderConverter))]
public CredentialsProvider CredentialsProvider { get; set; }
public:
[TypeConverterAttribute((ApplicationIdCredentialsProviderConverter^::typeid))]
property CredentialsProvider^ CredentialsProvider {
    CredentialsProvider^ get();
    void set(CredentialsProvider^ value);
}
[<TypeConverterAttribute(typeof(ApplicationIdCredentialsProviderConverter))>]
member CredentialsProvider : CredentialsProvider with get, set
<TypeConverterAttribute(GetType(ApplicationIdCredentialsProviderConverter))>
Public Property CredentialsProvider As CredentialsProvider

Property Value

Type: Microsoft.Maps.MapControl.WPF.Core.CredentialsProvider

Returns CredentialsProvider.

Examples

myMap.CredentialsProvider = New ApplicationIdCredentialsProvider("Your Bing Maps Key");

See Also

MapCore Class
Microsoft.Maps.MapControl.WPF Namespace

Return to top