Compartir a través de


ElementGroup.AddGraph Method (ModelElement, Boolean, Boolean)

Add an element and its children to the group

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

Syntax

'Declaración
Public Sub AddGraph ( _
    element As ModelElement, _
    isRootElement As Boolean, _
    includeLinksAutomatically As Boolean _
)
public void AddGraph(
    ModelElement element,
    bool isRootElement,
    bool includeLinksAutomatically
)
public:
void AddGraph(
    ModelElement^ element, 
    bool isRootElement, 
    bool includeLinksAutomatically
)
member AddGraph : 
        element:ModelElement * 
        isRootElement:bool * 
        includeLinksAutomatically:bool -> unit 
public function AddGraph(
    element : ModelElement, 
    isRootElement : boolean, 
    includeLinksAutomatically : boolean
)

Parameters

  • isRootElement
    Type: System.Boolean
    True if element should also be a root, false otherwise.
  • includeLinksAutomatically
    Type: System.Boolean
    Flag to indicate whether to include links to elements already in the group should also be added

.NET Framework Security

See Also

Reference

ElementGroup Class

AddGraph Overload

Microsoft.VisualStudio.Modeling Namespace