RazorCompiledItemMetadataAttribute Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a key/value metadata pair for the decorated Razor type.
public ref class RazorCompiledItemMetadataAttribute sealed : Attribute
C#
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class RazorCompiledItemMetadataAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type RazorCompiledItemMetadataAttribute = class
inherit Attribute
Public NotInheritable Class RazorCompiledItemMetadataAttribute
Inherits Attribute
- Inheritance
-
RazorCompiledItemMetadataAttribute
- Attributes
Razor |
Creates a new RazorCompiledItemMetadataAttribute. |
Product | Versions |
---|---|
ASP.NET Core | 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |