This topic has not yet been rated - Rate this topic

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)
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Property|AttributeTargets.Interface, AllowMultiple = true)]
public sealed class AdditionalMetadataAttribute : Attribute, 
	IMetadataAware

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.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.