ApplicationDataStorageHelper.TryDelete 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.
Overloads
TryDelete(String) | |
TryDelete(String, String) |
Deletes a single item by its key in composite. |
TryDelete(String)
public bool TryDelete (string key);
abstract member TryDelete : string -> bool
override this.TryDelete : string -> bool
Public Function TryDelete (key As String) As Boolean
Parameters
- key
- String
Returns
Implements
Applies to
TryDelete(String, String)
Deletes a single item by its key in composite.
public bool TryDelete (string compositeKey, string key);
member this.TryDelete : string * string -> bool
Public Function TryDelete (compositeKey As String, key As String) As Boolean
Parameters
- compositeKey
- String
Key of the composite (that contains settings).
- key
- String
Key of the object.
Returns
A boolean indicator of success.