Partager via


ShapeElement.GetSubFieldRepresentedPropertyElements Method

Definition

Gets the element that hosts the property displayed by a subfield. This may be different from the element returned by GetSubFieldRepresentedElements because the actual DomainPropertyInfo returned by GetSubFieldRepresentedProperty may be hosted in a child of the represented element.

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

Parameters

field
ShapeField
subfield
ShapeSubField

Returns

Applies to