ElementTypeDescriptionProvider::CreateTypeDescriptor Method (ICustomTypeDescriptor^, ModelElement^)
Visual Studio 2015
Creates a custom type descriptor.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
protected: virtual ElementTypeDescriptor^ CreateTypeDescriptor( ICustomTypeDescriptor^ parent, ModelElement^ element )
Parameters
- parent
-
Type:
System.ComponentModel::ICustomTypeDescriptor^
The parent type descriptor.
- element
-
Type:
Microsoft.VisualStudio.Modeling::ModelElement^
The object for which to retrieve the type descriptor.
Return Value
Type: Microsoft.VisualStudio.Modeling.Design::ElementTypeDescriptor^A new custom type descriptor.
| Exception | Condition |
|---|---|
| ArgumentException | element is null. |
Show: