Export (0) Print
Expand All

AdditionalMetadataAttribute Class

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

System.Object
  System.Attribute
    System.Web.Mvc.AdditionalMetadataAttribute

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Property|AttributeTargets.Interface, AllowMultiple = true)>]
type AdditionalMetadataAttribute =  
    class 
        inherit Attribute 
        interface IMetadataAware 
    end

The AdditionalMetadataAttribute type exposes the following members.

  NameDescription
Public methodAdditionalMetadataAttributeInitializes a new instance of the AdditionalMetadataAttribute class.
Top

  NameDescription
Public propertyNameGets the name of the additional metadata attribute.
Public propertyTypeIdGets the type of the of the additional metadata attribute. (Overrides Attribute.TypeId.)
Public propertyValueGets the value of the of the additional metadata attribute.
Top

  NameDescription
Public methodEquals (Inherited from Attribute.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnMetadataCreatedProvides metadata to the model metadata creation process.
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft