RazorCompiledItemMetadataAttribute Class

Definition

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.

Applies to