Freigeben über


CompiledViewDescriptor.ViewAttribute Eigenschaft

Definition

Achtung

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

Ruft das Dekorieren der RazorViewAttribute Ansicht ab oder legt sie fest.

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

Eigenschaftswert

Attribute

Hinweise

Kann null sein.

Gilt für: