ApplicationIdCredentialsProvider Class
Provides credentials in the form of an application ID (a Bing Maps Key).
Namespace: Microsoft.Maps.MapControl.WPF
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Inheritance Hierarchy
System.Object
Microsoft.Maps.MapControl.WPF.Core.CredentialsProvider
Microsoft.Maps.MapControl.WPF.ApplicationIdCredentialsProvider
Syntax
public class ApplicationIdCredentialsProvider : CredentialsProvider,
INotifyPropertyChanged
public ref class ApplicationIdCredentialsProvider : CredentialsProvider,
INotifyPropertyChanged
type ApplicationIdCredentialsProvider =
class
inherit CredentialsProvider
interface INotifyPropertyChanged
end
Public Class ApplicationIdCredentialsProvider
Inherits CredentialsProvider
Implements INotifyPropertyChanged
Constructors
Name | Description | |
---|---|---|
ApplicationIdCredentialsProvider() | Initializes a new instance of the ApplicationIdCredentialsProvider class. |
|
ApplicationIdCredentialsProvider(String) | Initializes a new instance of the ApplicationIdCredentialsProvider class using the specified application ID. |
Properties
Name | Description | |
---|---|---|
ApplicationId | Gets or sets the application ID. The application ID is your Bing Maps Key. Information about getting a Bing Maps Key is found in Getting a Bing Maps Key. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetCredentials(Action<Credentials>) | Retrieves the credentials for the map control. This method can be used to pass your Bing Maps Key to other Bing Maps APIs, such as the Bing Maps REST Services.(Overrides CredentialsProvider.GetCredentials(Action<Credentials>).) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
OnPropertyChanged(String) | Enables the ability to provide custom handling when a property of this class changes. |
|
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
PropertyChanged | Occurs when a property of this class changes. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Maps.MapControl.WPF Namespace
Getting a Bing Maps Key
Return to top