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
- target
Type: Microsoft.VisualStudio.Modeling.ModelElement
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject
.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.