ShapeElement.GetSubFieldRepresentedPropertyElements Method
Gets the element that contains the property for the child field.
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.ICollectionThe 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.
- 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.