Share via


CloudSpatialAnchorSession.DeleteAnchorAsync(CloudSpatialAnchor) Method

Definition

Deletes a persisted spatial anchor.

public:
 System::Threading::Tasks::Task ^ DeleteAnchorAsync(Microsoft::Azure::SpatialAnchors::CloudSpatialAnchor ^ anchor);
public System.Threading.Tasks.Task DeleteAnchorAsync (Microsoft.Azure.SpatialAnchors.CloudSpatialAnchor anchor);
member this.DeleteAnchorAsync : Microsoft.Azure.SpatialAnchors.CloudSpatialAnchor -> System.Threading.Tasks.Task
Public Function DeleteAnchorAsync (anchor As CloudSpatialAnchor) As Task

Parameters

anchor
CloudSpatialAnchor

The anchor to be deleted.

Returns

Applies to