PresentationViewsSubject.GetLink Method
Get the PresentationViewsSubject link between a given PresentationElementand a ModelElement.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
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.