RazorCompiledItemMetadataAttribute Class
Definition
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
[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
Constructors
RazorCompiledItemMetadataAttribute(String, String) |
Creates a new RazorCompiledItemMetadataAttribute. |
Properties
Key |
Gets the key. |
Value |
Gets the value. |