共用方式為


DiagramElementHasDecorators.GetLinksToDecorators 方法

取得 DiagramElement 的 DiagramElementHasDecorators 連結清單。

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

語法

'宣告
Public Shared Function GetLinksToDecorators ( _
    diagramElementInstance As DiagramElement _
) As ReadOnlyCollection(Of DiagramElementHasDecorators)
public static ReadOnlyCollection<DiagramElementHasDecorators> GetLinksToDecorators(
    DiagramElement diagramElementInstance
)

參數

傳回值

類型:System.Collections.ObjectModel.ReadOnlyCollection<DiagramElementHasDecorators>

.NET Framework 安全性

請參閱

參考

DiagramElementHasDecorators 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間