Delen via


PresentationViewsSubject Constructor (PresentationElement, ModelElement)

Creates a PresentationViewsSubject link in the same Partition as the given PresentationElement

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 New ( _
    source As PresentationElement, _
    target As ModelElement _
)
public PresentationViewsSubject(
    PresentationElement source,
    ModelElement target
)
public:
PresentationViewsSubject(
    PresentationElement^ source, 
    ModelElement^ target
)
new : 
        source:PresentationElement * 
        target:ModelElement -> PresentationViewsSubject
public function PresentationViewsSubject(
    source : PresentationElement, 
    target : ModelElement
)

Parameters

Remarks

Presentation elements and PresentationViewsSubject links are usually created in a separate Partitionfrom the domain model elements.

You can also construct this relationship by setting the Model property in the PresentationElement.

.NET Framework Security

See Also

Reference

PresentationViewsSubject Class

PresentationViewsSubject Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace