共用方式為


DiagramElementHasDecorators.GetLink 方法

取得指定的 DiagramElement 和 Decorator 之間的一個 DiagramElementHasDecorators 連結。

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

語法

'宣告
Public Shared Function GetLink ( _
    source As DiagramElement, _
    target As Decorator _
) As DiagramElementHasDecorators
public static DiagramElementHasDecorators GetLink(
    DiagramElement source,
    Decorator target
)

參數

傳回值

類型:Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators

.NET Framework 安全性

請參閱

參考

DiagramElementHasDecorators 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間