Delen via


ElementGroup.AddGraph Method (ModelElement)

Add an element and its children to the group Any links to elements already in the group will also be added.

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

Syntax

'Declaration
Public Sub AddGraph ( _
    element As ModelElement _
)
public void AddGraph(
    ModelElement element
)
public:
void AddGraph(
    ModelElement^ element
)
member AddGraph : 
        element:ModelElement -> unit
public function AddGraph(
    element : ModelElement
)

Parameters

.NET Framework Security

See Also

Reference

ElementGroup Class

AddGraph Overload

Microsoft.VisualStudio.Modeling Namespace