Dela via


SpatialEntityStore.SaveAsync(SpatialEntity) Method

Definition

Saves a new or updated spatial entity into the store, to be synchronized with all participants.

public:
 virtual IAsyncAction ^ SaveAsync(SpatialEntity ^ entity) = SaveAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SaveAsync(SpatialEntity const& entity);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SaveAsync(SpatialEntity entity);
function saveAsync(entity)
Public Function SaveAsync (entity As SpatialEntity) As IAsyncAction

Parameters

entity
SpatialEntity

The new or updated spatial entity.

Returns

Action that triggers once the entity data has been communicated to the host.

Attributes

Applies to