Share via


ModelMetadataProvider.GetMetadataForType Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Syntax

'Declaration
Public MustOverride Function GetMetadataForType ( _
    modelAccessor As Func, _
    modelType As Void _
) As ModelMetadata
public abstract ModelMetadata GetMetadataForType(
    Func modelAccessor,
    void modelType
)
public:
virtual ModelMetadata^ GetMetadataForType(
    Func^ modelAccessor, 
    void modelType
) abstract
abstract GetMetadataForType : 
        modelAccessor:Func * 
        modelType:unit -> ModelMetadata 
public abstract function GetMetadataForType(
    modelAccessor : Func, 
    modelType : Void
) : ModelMetadata

Parameters

Return Value

Type: System.Web.Http.Metadata.ModelMetadata

See Also

Reference

ModelMetadataProvider Class

System.Web.Http.Metadata Namespace