Export (0) Print
Expand All
Expand Minimize

ShapeElement.GetFieldRepresentedElement Method

Gets the primary element that the child shape represents.

Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in microsoft.visualstudio.modeling.diagrams.dll)

public virtual ModelElement GetFieldRepresentedElement (
	ShapeField field
)
public ModelElement GetFieldRepresentedElement (
	ShapeField field
)
public function GetFieldRepresentedElement (
	field : ShapeField
) : ModelElement

Parameters

field

A child field in the element.

Return Value

The primary element that the child shape represents.

This method is used for accessibility, selection, and in-place editing. For example, the specified field may be part of a selection that is only interested in the element that the field represents. Similarly, the specified field may be queried by an accessibility client for the accessible name and description, which is automatically managed by the element.

Community Additions

ADD
Show:
© 2015 Microsoft