AdditionalMetadataAttribute AdditionalMetadataAttribute AdditionalMetadataAttribute Class

Definition

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

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property | System.AttributeTargets.Interface, 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
AdditionalMetadataAttributeAdditionalMetadataAttributeAdditionalMetadataAttribute
Attributes
Implements

Constructors

AdditionalMetadataAttribute(String, Object) AdditionalMetadataAttribute(String, Object) AdditionalMetadataAttribute(String, Object)

Initializes a new instance of the AdditionalMetadataAttribute class.

Properties

Name Name Name

Gets the name of the additional metadata attribute.

TypeId TypeId TypeId

Gets the type of the of the additional metadata attribute.

Value Value Value

Gets the value of the of the additional metadata attribute.

Methods

OnMetadataCreated(ModelMetadata) OnMetadataCreated(ModelMetadata) OnMetadataCreated(ModelMetadata)

Provides metadata to the model metadata creation process.

Applies to