PresentationElement.Associate Method
Assigns a model element to the presentation element. The same effect as setting ModelElement.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Sub Associate ( _
element As ModelElement _
)
public void Associate(
ModelElement element
)
public:
void Associate(
ModelElement^ element
)
member Associate :
element:ModelElement -> unit
public function Associate(
element : ModelElement
)
Parameters
element
Type: Microsoft.VisualStudio.Modeling.ModelElementThe model element.
.NET Framework Security
- 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.