Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub AddGraph ( _
element As ModelElement, _
isRootElement As Boolean _
)
'使用
Dim instance As ElementGroup
Dim element As ModelElement
Dim isRootElement As Boolean
instance.AddGraph(element, isRootElement)
public void AddGraph(
ModelElement element,
bool isRootElement
)
public:
void AddGraph(
ModelElement^ element,
bool isRootElement
)
public function AddGraph(
element : ModelElement,
isRootElement : boolean
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
- isRootElement
Type: System.Boolean
Permissions
- 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.