net9.0
namespace Microsoft.AspNetCore.Components
{
public class PersistentComponentState
{
[RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed.")]
public void PersistAsJson<TValue>(string! key, TValue instance);
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Assembly | Microsoft.AspNetCore.Components , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Requires any:
|
Platform Restrictions | This API is supported on all platforms. |