次の方法で共有


AssociatedValidatorProvider.GetTypeDescriptor Method

Gets a type descriptor for the specified type.

Namespace:  System.Web.Http.Validation.Providers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Protected Overridable Function GetTypeDescriptor ( _
    type As Type _
) As ICustomTypeDescriptor
'Usage
Dim type As Type
Dim returnValue As ICustomTypeDescriptor

returnValue = Me.GetTypeDescriptor(type)
protected virtual ICustomTypeDescriptor GetTypeDescriptor(
    Type type
)
protected:
virtual ICustomTypeDescriptor^ GetTypeDescriptor(
    Type^ type
)
abstract GetTypeDescriptor : 
        type:Type -> ICustomTypeDescriptor 
override GetTypeDescriptor : 
        type:Type -> ICustomTypeDescriptor 
protected function GetTypeDescriptor(
    type : Type
) : ICustomTypeDescriptor

Parameters

  • type
    Type: System.Type
    The type of the validation provider.

Return Value

Type: System.ComponentModel.ICustomTypeDescriptor
A type descriptor for the specified type.

See Also

Reference

AssociatedValidatorProvider Class

System.Web.Http.Validation.Providers Namespace