ModelMetadataProvider.GetMetadataForType Method (Func<Object>, Type)

 

Gets the metadata for the specified model accessor and model type.

Namespace:   System.Web.Http.Metadata
Assembly:  System.Web.Http (in System.Web.Http.dll)

abstract GetMetadataForType : 
        modelAccessor:Func<Object> *
        modelType:Type -> ModelMetadata

Parameters

modelAccessor
Type: System.Func<Object>

The model accessor.

modelType
Type: System.Type

The type of the mode.

Return Value

Type: System.Web.Http.Metadata.ModelMetadata

The metadata.

Return to top
Show: