ElementTypeDescriptionProvider::CreateTypeDescriptor Method (ICustomTypeDescriptor^, ModelElement^)

 

Creates a custom type descriptor.

Namespace:   Microsoft.VisualStudio.Modeling.Design
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.

Return to top
Show: