AssociatedMetadataProvider.GetMetadataForType Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This member overrides ModelMetadataProvider.GetMetadataForType(Func<TResult>, Void).
Namespace: System.Web.Http.Metadata.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Overrides Function GetMetadataForType ( _
modelAccessor As Func, _
modelType As Void _
) As ModelMetadata
public override ModelMetadata GetMetadataForType(
Func modelAccessor,
void modelType
)
public:
virtual ModelMetadata^ GetMetadataForType(
Func^ modelAccessor,
void modelType
) override
abstract GetMetadataForType :
modelAccessor:Func *
modelType:unit -> ModelMetadata
override GetMetadataForType :
modelAccessor:Func *
modelType:unit -> ModelMetadata
public override 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