Freigeben über


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.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