AssociatedMetadataTypeTypeDescriptionProvider::GetTypeDescriptor Method (Type^, Object^)
.NET Framework (current version)
Gets a type descriptor for the specified type and object.
Assembly: System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)
public: virtual ICustomTypeDescriptor^ GetTypeDescriptor( Type^ objectType, Object^ instance ) override
Parameters
- objectType
-
Type:
System::Type^
The type of object to retrieve the type descriptor for.
- instance
-
Type:
System::Object^
An instance of the type.
Return Value
Type: System.ComponentModel::ICustomTypeDescriptor^The descriptor that provides metadata for the type.
.NET Framework
Available since 3.5
Available since 3.5
Show: