Lenguaje

PersistentStateAttribute Clase

Definición

Indica que el valor del parámetro puede provenir del estado de componente persistente de una representación anterior.

[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class PersistentStateAttribute : Microsoft.AspNetCore.Components.CascadingParameterAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type PersistentStateAttribute = class
    inherit CascadingParameterAttributeBase
Public NotInheritable Class PersistentStateAttribute
Inherits CascadingParameterAttributeBase
Herencia
PersistentStateAttribute
Atributos

Constructores

Nombre Description
PersistentStateAttribute()

Indica que el valor del parámetro puede provenir del estado de componente persistente de una representación anterior.

Propiedades

Nombre Description
AllowUpdates

Obtiene o establece un valor que indica si el componente quiere recibir actualizaciones al parámetro más allá del valor inicial proporcionado durante la inicialización cuando se proporcionan las actualizaciones durante la navegación mejorada.

RestoreBehavior

Obtiene o establece el comportamiento que se va a usar al restaurar datos.

Se aplica a