ApplicationIdCredentialsProvider.GetCredentials Method (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.
Namespace: Microsoft.Maps.MapControl.WPF
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Syntax
public override void GetCredentials(
Action<Credentials> callback
)
public:
virtual void GetCredentials(
Action<Credentials^>^ callback
) override
override GetCredentials :
callback:Action<Credentials> -> unit
Public Overrides Sub GetCredentials (
callback As Action(Of Credentials)
)
Parameters
callback
Type: System.Action<Credentials>The function to call when credentials are retrieved.
See Also
ApplicationIdCredentialsProvider Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top