ElementListCompartment.GetSubFieldRepresentedElements Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.