ShapeElement::GetSubFieldRepresentedElements Method (ShapeField^, ShapeSubField^)
Visual Studio 2015
Gets a collection of elements that the shape for the child field represents.
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 )
Parameters
- field
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::ShapeField^
The parent field for the child field.
- subfield
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::ShapeSubField^
The child field.
- subField
A child ShapeSubField of the specified ShapeField.
Return Value
Type: System.Collections::ICollection^A collection of elements that the shape for the child field represents.
This is intended to be used by accessibility, selection, and in-place editing. For example, the specified ShapeSubField (as a DiagramItem) may be part of a selection, but the selection is only interested in the ModelElement that the ShapeField represents. Similarly, the specified ShapeSubField (as a DiagramItem) may be queried by an Accessibility client for the accessible name and description, which is automatically handled by the ModelElement.
Show: