Share via


AdditionalMetadataAttribute.OnMetadataCreated Method

Provides metadata to the model metadata creation process.

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

Syntax

'Declaration
Public Sub OnMetadataCreated ( _
    metadata As ModelMetadata _
)
'Usage
Dim instance As AdditionalMetadataAttribute
Dim metadata As ModelMetadata

instance.OnMetadataCreated(metadata)
public void OnMetadataCreated(
    ModelMetadata metadata
)
public:
virtual void OnMetadataCreated(
    ModelMetadata^ metadata
) sealed
public final function OnMetadataCreated(
    metadata : ModelMetadata
)

Parameters

Implements

IMetadataAware.OnMetadataCreated(ModelMetadata)

See Also

Reference

AdditionalMetadataAttribute Class

System.Web.Mvc Namespace