ElementListCompartment::GetSubFieldRepresentedElements Method (ShapeField^, ShapeSubField^)
Visual Studio 2015
Gets the primary ModelElement that the specified ShapeSubField represents. This is used for tracking selection and displaying the properties of the underlying element.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: virtual ICollection^ GetSubFieldRepresentedElements( ShapeField^ field, ShapeSubField^ subfield ) override
Parameters
- field
- Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeField^
- subfield
- Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeSubField^
- shapeField
A child ShapeField of this ShapeElement.
- subField
A child ShapeSubField of the specified ShapeField.
Return Value
Type: System.Collections::ICollection^
Show: