共用方式為


PresentationElementTypeDescriptor.RepresentedModelElement Property

Definition

Returns the model element represented by the presentation element being described.

protected:
 property Microsoft::VisualStudio::Modeling::ModelElement ^ RepresentedModelElement { Microsoft::VisualStudio::Modeling::ModelElement ^ get(); };
protected Microsoft.VisualStudio.Modeling.ModelElement RepresentedModelElement { get; }
member this.RepresentedModelElement : Microsoft.VisualStudio.Modeling.ModelElement
Protected ReadOnly Property RepresentedModelElement As ModelElement

Property Value

Remarks

Will return null if this.PresentationElement is null (e.g. if a type-based descriptor), or if the presentation element is not linked to a MEL.

Applies to