Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats Top APIs
    Version Source
  1. Catalog
  2. Microsoft.Maui.Storage
  3. Preferences
  4. Clear(String)
  • Preferences
    • Default
    • Clear()
    • Clear(String)
    • ContainsKey(String)
    • ContainsKey(String, String)
    • Get(String, Boolean)
    • Get(String, DateTime)
    • Get(String, Double)
    • Get(String, Int32)
    • Get(String, Int64)
    • Get(String, Single)
    • Get(String, String)
    • Get(String, Boolean, String)
    • Get(String, DateTime, String)
    • Get(String, Double, String)
    • Get(String, Int32, String)
    • Get(String, Int64, String)
    • Get(String, Single, String)
    • Get(String, String, String)
    • Remove(String)
    • Remove(String, String)
    • Set(String, Boolean)
    • Set(String, DateTime)
    • Set(String, Double)
    • Set(String, Int32)
    • Set(String, Int64)
    • Set(String, Single)
    • Set(String, String)
    • Set(String, Boolean, String)
    • Set(String, DateTime, String)
    • Set(String, Double, String)
    • Set(String, Int32, String)
    • Set(String, Int64, String)
    • Set(String, Single, String)
    • Set(String, String, String)
net7.0
namespace Microsoft.Maui.Storage
{
    public static class Preferences
    {
        public static void Clear(string? sharedName);
    }
}
nuget.org
0.0 %
Reference this API
.NET
6.07.0
Information specific to net7.0
Assembly

Microsoft.Maui.Essentials , Version=1.0.0.0, PublicKeyToken=

Referencing

Requires all:

  • You need to have the workload maui installed.

  • Your project needs to set <UseMaui>True</UseMaui>.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

01/14/2026
An error has occurred. This application may no longer respond until reloaded. Reload 🗙