다음을 통해 공유


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

.NET Framework Security

See Also

Reference

PresentationElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace

ModelElement