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)

No code example is currently available or this language may not be supported.

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: