ElementListCompartment.GetSubFieldRepresentedElements Method

Definition

Gets the primary ModelElement that the specified ShapeSubField represents. This is used for tracking selection and displaying the properties of the underlying element.

public:
 override System::Collections::ICollection ^ GetSubFieldRepresentedElements(Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ field, Microsoft::VisualStudio::Modeling::Diagrams::ShapeSubField ^ subfield);
public override System.Collections.ICollection GetSubFieldRepresentedElements (Microsoft.VisualStudio.Modeling.Diagrams.ShapeField field, Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField subfield);
override this.GetSubFieldRepresentedElements : Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField -> System.Collections.ICollection
Public Overrides Function GetSubFieldRepresentedElements (field As ShapeField, subfield As ShapeSubField) As ICollection

Parameters

field
ShapeField
subfield
ShapeSubField

Returns

The primary ModelElement that the specified child ShapeSubField represents.

Applies to