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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Overridable Function GetSubFieldRepresentedPropertyElements ( _
field As ShapeField, _
subfield As ShapeSubField _
) As ICollection
public virtual ICollection GetSubFieldRepresentedPropertyElements(
ShapeField field,
ShapeSubField subfield
)
public:
virtual ICollection^ GetSubFieldRepresentedPropertyElements(
ShapeField^ field,
ShapeSubField^ subfield
)
abstract GetSubFieldRepresentedPropertyElements :
field:ShapeField *
subfield:ShapeSubField -> ICollection
override GetSubFieldRepresentedPropertyElements :
field:ShapeField *
subfield:ShapeSubField -> ICollection
public function GetSubFieldRepresentedPropertyElements(
field : ShapeField,
subfield : ShapeSubField
) : ICollection
Parameters
field
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeFieldThe parent field for the child field.
subfield
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubFieldThe child field.
Return Value
Type: System.Collections.ICollection
The element that contains the property for the child field.
Remarks
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.
.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.