This topic has not yet been rated - Rate this topic

ShapeElement.GetSubFieldRepresentedPropertyElements Method

Gets the element that contains the property for the child field.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public virtual ICollection GetSubFieldRepresentedPropertyElements(
	ShapeField field,
	ShapeSubField subfield
)

Parameters

field
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
The parent field for the child field.
subfield
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField
The child field.

Return Value

Type: System.Collections.ICollection
The element that contains the property for the child field.

The element that is returned might be different from the element that GetSubFieldRepresentedElements returns because the property that GetSubFieldRepresentedProperty returns might be in a child of the represented element.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ