Export (0) Print
Expand All

IMetadataAware Interface

.NET Framework 4.5

Defines a method that must be implemented by classes that are metadata-aware.

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

public interface IMetadataAware

The IMetadataAware type exposes the following members.

  NameDescription
Public methodOnMetadataCreatedEnables metadata-aware attributes to perform required processing of metadata after the metadata is created.
Top

This interface enables attributes to contribute to the process of creating model metadata without requiring a custom metadata provider. It is used by the AssociatedMetadataProvider class, so this behavior is automatically inherited by all classes that derive from the AssociatedMetadataProvider class (notably the DataAnnotationsModelMetadataProvider class).

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft