Delen via


MapControl.TryRotateToAsync(Double) Method

Definition

Starts an asynchronous operation to rotate the map's camera to a specific orientation.

public:
 virtual IAsyncOperation<bool> ^ TryRotateToAsync(double angleInDegrees) = TryRotateToAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryRotateToAsync(double const& angleInDegrees);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryRotateToAsync(double angleInDegrees);
function tryRotateToAsync(angleInDegrees)
Public Function TryRotateToAsync (angleInDegrees As Double) As IAsyncOperation(Of Boolean)

Parameters

angleInDegrees
Double

double

The final Heading of the map's camera, in degrees.

Returns

Contains the results of the operation: true if the operation completed successfully; otherwise, false.

Attributes

Remarks

See the remarks section of the TryRotateAsync method.

Applies to