Ler em inglês

Compartilhar via


CompiledViewDescriptor.ViewAttribute Propriedade

Definição

Cuidado

Use Item instead. RazorViewAttribute has been superseded by RazorCompiledItem and will not be used by the runtime.

Obtém ou define a RazorViewAttribute decoração da exibição.

public Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute ViewAttribute { get; set; }
[System.Obsolete("Use Item instead. RazorViewAttribute has been superseded by RazorCompiledItem and will not be used by the runtime.")]
public Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute ViewAttribute { get; set; }
[System.Obsolete("Use Item instead. RazorViewAttribute has been superseded by RazorCompiledItem and will not be used by the runtime.")]
public Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute? ViewAttribute { get; set; }

Valor da propriedade

Atributos

Comentários

Pode ser null.

Aplica-se a