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
- subfield
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField
Return Value
Type: 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.