AdditionalMetadataAttribute Class

Definition

Provides a class that implements the IMetadataAware interface in order to support additional metadata.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface | System.AttributeTargets.Property, AllowMultiple=true)]
public sealed class AdditionalMetadataAttribute : Attribute, System.Web.Mvc.IMetadataAware
type AdditionalMetadataAttribute = class
    inherit Attribute
    interface IMetadataAware
Public NotInheritable Class AdditionalMetadataAttribute
Inherits Attribute
Implements IMetadataAware
Inheritance
AdditionalMetadataAttribute
Attributes
Implements

Constructors

AdditionalMetadataAttribute(String, Object)

Initializes a new instance of the AdditionalMetadataAttribute class.

Properties

Name

Gets the name of the additional metadata attribute.

TypeId

Gets the type of the of the additional metadata attribute.

Value

Gets the value of the of the additional metadata attribute.

Methods

OnMetadataCreated(ModelMetadata)

Provides metadata to the model metadata creation process.

Applies to