Freigeben über


ShapeElement.GetSubFieldRepresentedElements Method

Gets a collection of elements that the shape for the child field represents.

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

Syntax

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

Parameters

Return Value

Type: System.Collections.ICollection
A collection of elements that the shape for the child field represents.

Remarks

This is intended to be used by accessibility, selection, and in-place editing. For example, the specified ShapeSubField (as a DiagramItem) may be part of a selection, but the selection is only interested in the ModelElement that the ShapeField represents. Similarly, the specified ShapeSubField (as a DiagramItem) may be queried by an Accessibility client for the accessible name and description, which is automatically handled by the ModelElement.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace