CreateInheritanceLink.Connect メソッド

ソースのペアとターゲット要素間の接続を確立します。

名前空間:  Microsoft.VisualStudio.Modeling.DslDefinition
アセンブリ:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 内)

構文

'宣言
Public Shared Function Connect ( _
    source As ModelElement, _
    target As ModelElement _
) As ElementLink
public static ElementLink Connect(
    ModelElement source,
    ModelElement target
)

パラメーター

戻り値

型 : Microsoft.VisualStudio.Modeling.ElementLink
作成した接続を表すリンク

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

CreateInheritanceLink クラス

Microsoft.VisualStudio.Modeling.DslDefinition 名前空間