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
- subfield
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField
Return Value
Type: System.Collections.ICollection
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.