次の方法で共有


ElementGroup.Add Method (ModelElement, Boolean)

Adds an element to the group.

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

Syntax

'宣言
Public Sub Add ( _
    element As ModelElement, _
    includeLinksAutomatically As Boolean _
)
public void Add(
    ModelElement element,
    bool includeLinksAutomatically
)
public:
void Add(
    ModelElement^ element, 
    bool includeLinksAutomatically
)
member Add : 
        element:ModelElement * 
        includeLinksAutomatically:bool -> unit 
public function Add(
    element : ModelElement, 
    includeLinksAutomatically : boolean
)

Parameters

  • 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

Add Overload

Microsoft.VisualStudio.Modeling Namespace