Edit

Share via


MultiplayerSession.DeleteCurrentUserMemberCustomPropertyJson(String) Method

Definition

Delete a custom property on the current session member.

public void DeleteCurrentUserMemberCustomPropertyJson (string name);
abstract member DeleteCurrentUserMemberCustomPropertyJson : string -> unit
override this.DeleteCurrentUserMemberCustomPropertyJson : string -> unit
Public Sub DeleteCurrentUserMemberCustomPropertyJson (name As String)

Parameters

name
String

The name of the property to delete.

Implements

Microsoft.Xbox.Services.Multiplayer.__IMultiplayerSessionPublicNonVirtuals.DeleteCurrentUserMemberCustomPropertyJson(System.String)

Remarks

After calling this method, the caller must use MultiplayerService.WriteSessionAsync to write batched local changes to the service.If SetHostDeviceToken is called without calling WriteSessionAsync, it only changes the local session object but does not commit it to the service.

Applies to