ElementTypeDescriptionProvider::GetTypeDescriptor Method (Type^, Object^)
Visual Studio 2015
Gets a custom type descriptor for the given type and object.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
public: virtual ICustomTypeDescriptor^ GetTypeDescriptor( Type^ objectType, Object^ instance ) override sealed
Parameters
- objectType
-
Type:
System::Type^
The type of the object for which to retrieve the type descriptor.
- instance
-
Type:
System::Object^
The object for which to retrieve the type descriptor.
Return Value
Type: System.ComponentModel::ICustomTypeDescriptor^A custom type descriptor for the given type and object.
If instance is null, then this method gets a custom type descriptor for the objectType.
Show: