Gets a custom type descriptor for the given type and object.
Namespace:
Mindscape.LightSpeed.DataAnnotationsAssembly: Mindscape.LightSpeed.Web (in Mindscape.LightSpeed.Web.dll)
Version: 4.0.1000.1 (4.0.0.0)
Syntax
C# |
---|
public override ICustomTypeDescriptor GetTypeDescriptor( Type objectType, Object instance ) |
Visual Basic (Declaration) |
---|
Public Overrides Function GetTypeDescriptor ( _ objectType As Type, _ instance As Object _ ) As ICustomTypeDescriptor |
Parameters
- objectType
- Type: System..::.Type
The type of object.
- instance
- Type: System..::.Object
An instance of the type.