Click or drag to resize
GeneralRulesDeleteSave Method
Empties the specified save slot.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual void DeleteSave(
	int Slot,
	bool InMemory
)

Parameters

Slot
Type: SystemInt32
Specifies a number that uniquely identifies a saved game
InMemory
Type: SystemBoolean
If false, a file is deleted, otherwise a memory slot is cleared.
Remarks
An error occurs if the specified slot is a file slot and there is no data to delete. Memory slots and file slots are distinct. If a memory slot has game data in it, a file slot with the same number may not, and vice versa. Furthermore a memory slot may have different game data stored in it than a file slot with the same number.
See Also