Lenguaje

RazorCompiledItemMetadataAttribute Clase

Definición

Define un par de metadatos clave-valor para el tipo de Razor decorado.

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
Herencia
RazorCompiledItemMetadataAttribute
Atributos

Constructores

Nombre Description
RazorCompiledItemMetadataAttribute(String, String)

Crea un nuevo RazorCompiledItemMetadataAttribute.

Propiedades

Nombre Description
Key

Obtiene la clave.

Value

Obtiene el valor.

Se aplica a