ElementPropertyDescriptor::ComponentType Property

 

Gets the type of the model element to which this property is bound.

Namespace:   Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public:
property Type^ ComponentType {
	virtual Type^ get() override;
}

Property Value

Type: System::Type^

The type of the model element to which this property is bound.

If the owner parameter was specified in the constructor for this property descriptor, then the GetType method of the owner provides the type. Otherwise, the type of the ModelElement property of this descriptor is used. If this descriptor is not bound to a model element, then the ModelElement type is returned.

Return to top
Show: