MultiplayerSession.DeleteCurrentUserMemberCustomPropertyJson(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.