Udostępnij za pośrednictwem


SpatialAnchor.RemovedByUser Property

Definition

Gets a value indicating whether the persisted anchor was removed by the user.

public:
 property bool RemovedByUser { bool get(); };
bool RemovedByUser();
public bool RemovedByUser { get; }
var boolean = spatialAnchor.removedByUser;
Public ReadOnly Property RemovedByUser As Boolean

Property Value

Boolean

bool

True, if the anchor was removed; otherwise, false.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

The app should discard any other saved state that corresponds with this anchor.

Applies to