Delen via


ElementGroup.AddGraph Method (ModelElement, Boolean)

Add an element and its children to the group

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, _
    isRootElement As Boolean _
)
public void AddGraph(
    ModelElement element,
    bool isRootElement
)
public:
void AddGraph(
    ModelElement^ element, 
    bool isRootElement
)
member AddGraph : 
        element:ModelElement * 
        isRootElement:bool -> unit
public function AddGraph(
    element : ModelElement, 
    isRootElement : boolean
)

Parameters

  • isRootElement
    Type: System.Boolean

    True if element should also be a root, false otherwise.

.NET Framework Security

See Also

Reference

ElementGroup Class

AddGraph Overload

Microsoft.VisualStudio.Modeling Namespace