CompiledViewDescriptor.ViewAttribute Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attention
Use Item instead. RazorViewAttribute has been superseded by RazorCompiledItem and will not be used by the runtime.
Obtient ou définit la RazorViewAttribute décoration de la vue.
public:
property Microsoft::AspNetCore::Mvc::Razor::Compilation::RazorViewAttribute ^ ViewAttribute { Microsoft::AspNetCore::Mvc::Razor::Compilation::RazorViewAttribute ^ get(); void set(Microsoft::AspNetCore::Mvc::Razor::Compilation::RazorViewAttribute ^ value); };
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; }
member this.ViewAttribute : Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute with get, set
[<System.Obsolete("Use Item instead. RazorViewAttribute has been superseded by RazorCompiledItem and will not be used by the runtime.")>]
member this.ViewAttribute : Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute with get, set
Public Property ViewAttribute As RazorViewAttribute
Valeur de propriété
- Attributs
Remarques
Peut avoir la valeur null
.