다음을 통해 공유


PresentationViewsSubject.GetLink Method

Get the PresentationViewsSubject link between a given PresentationElementand a 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 Shared Function GetLink ( _
    source As PresentationElement, _
    target As ModelElement _
) As PresentationViewsSubject
public static PresentationViewsSubject GetLink(
    PresentationElement source,
    ModelElement target
)
public:
static PresentationViewsSubject^ GetLink(
    PresentationElement^ source, 
    ModelElement^ target
)
static member GetLink : 
        source:PresentationElement * 
        target:ModelElement -> PresentationViewsSubject
public static function GetLink(
    source : PresentationElement, 
    target : ModelElement
) : PresentationViewsSubject

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject

.NET Framework Security

See Also

Reference

PresentationViewsSubject Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace