다음을 통해 공유


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)

Syntax

'Declaration
Public Overrides ReadOnly Property ComponentType As Type
public override Type ComponentType { get; }
public:
virtual property Type^ ComponentType {
    Type^ get () override;
}
abstract ComponentType : Type with get 
override ComponentType : Type with get
override function get ComponentType () : Type

Property Value

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

Remarks

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.

.NET Framework Security

See Also

Reference

ElementPropertyDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace

ElementTypeDescriptor

ModelElement