Share via


AdditionalMetadataAttribute Class

Definition

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

C#
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface | System.AttributeTargets.Property, AllowMultiple=true)]
public sealed class AdditionalMetadataAttribute : Attribute, System.Web.Mvc.IMetadataAware
Inheritance
AdditionalMetadataAttribute
Attributes
Implements

Constructors

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

Product Versions
ASP.NET MVC 5.2