ElementListCompartment.GetSubFieldRepresentedElements Method

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

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Overrides Function GetSubFieldRepresentedElements ( _
    field As ShapeField, _
    subfield As ShapeSubField _
) As ICollection
public override ICollection GetSubFieldRepresentedElements(
    ShapeField field,
    ShapeSubField subfield
)
public:
virtual ICollection^ GetSubFieldRepresentedElements(
    ShapeField^ field, 
    ShapeSubField^ subfield
) override
abstract GetSubFieldRepresentedElements : 
        field:ShapeField * 
        subfield:ShapeSubField -> ICollection  
override GetSubFieldRepresentedElements : 
        field:ShapeField * 
        subfield:ShapeSubField -> ICollection
public override function GetSubFieldRepresentedElements(
    field : ShapeField, 
    subfield : ShapeSubField
) : ICollection

Parameters

Return Value

Type: ICollection

.NET Framework Security

See Also

Reference

ElementListCompartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace