Displays the diagram in the specified diagram view.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Sub Associate ( _
diagramView As DiagramView _
)
'使用
Dim instance As Diagram
Dim diagramView As DiagramView
instance.Associate(diagramView)
public void Associate(
DiagramView diagramView
)
public:
void Associate(
DiagramView^ diagramView
)
public function Associate(
diagramView : DiagramView
)
Parameters
diagramView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramViewThe diagram view.
Remarks
You can associate a diagram with more than one diagram view.
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.