Compartilhar via


ElementListCompartment.GetSubFieldRepresentedPropertyElements Method

Definition

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.

public:
 override System::Collections::ICollection ^ GetSubFieldRepresentedPropertyElements(Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ field, Microsoft::VisualStudio::Modeling::Diagrams::ShapeSubField ^ subfield);
public override System.Collections.ICollection GetSubFieldRepresentedPropertyElements (Microsoft.VisualStudio.Modeling.Diagrams.ShapeField field, Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField subfield);
override this.GetSubFieldRepresentedPropertyElements : Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField -> System.Collections.ICollection
Public Overrides Function GetSubFieldRepresentedPropertyElements (field As ShapeField, subfield As ShapeSubField) As ICollection

Parameters

field
ShapeField
subfield
ShapeSubField

Returns

Applies to