PresentationViewsSubject.GetLinkToSubject メソッド
PresentationElement からそれが表示するドメイン モデル要素への PresentationViewsSubject リンクを取得します。 また、PresentationElement.ModelElement を使用することもできます。
名前空間: Microsoft.VisualStudio.Modeling.Diagrams
アセンブリ: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 内)
構文
'宣言
Public Shared Function GetLinkToSubject ( _
presentationInstance As PresentationElement _
) As PresentationViewsSubject
public static PresentationViewsSubject GetLinkToSubject(
PresentationElement presentationInstance
)
パラメーター
- presentationInstance
型 : Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement
戻り値
型 : Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject
解説
通常、この方向のリンクを検索するに ModelElement を使用します。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。