共用方式為


AssociatedValidatorProvider.GetTypeDescriptor Method

Gets a type descriptor for the specified type.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Protected Overridable Function GetTypeDescriptor ( _
    type As Type _
) As ICustomTypeDescriptor
protected virtual ICustomTypeDescriptor GetTypeDescriptor(
    Type type
)
protected:
virtual ICustomTypeDescriptor^ GetTypeDescriptor(
    Type^ type
)

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.Mvc Namespace