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
- modelAccessor
Type: System.Func<TResult>
- modelType
Type: System.Void
Return Value
Type: System.Web.Http.Metadata.ModelMetadata