Partager via


ElementListCompartment.GetSubFieldRepresentedPropertyElements Method

Gets the ModelElement that hosts the property displayed in the specified ShapeSubField. This may be different from the ModelElement returned from GetSubFieldRepresentedElements because the subfield may represent one element, but may get it's displayed property from another element that is related to the represented element.

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

Syntax

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

Parameters

Return Value

Type: System.Collections.ICollection

.NET Framework Security

See Also

Reference

ElementListCompartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace