DiagramElementHasDecorators.GetLinks(DiagramElement, Decorator) 方法

定义

获取给定 DiagramElement 与修饰器之间的任何 DiagramElementHasDecorators 链接。

public:
 static System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::DslDefinition::DiagramElementHasDecorators ^> ^ GetLinks(Microsoft::VisualStudio::Modeling::DslDefinition::DiagramElement ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::Decorator ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators> GetLinks (Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement source, Microsoft.VisualStudio.Modeling.DslDefinition.Decorator target);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLinks : Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement * Microsoft.VisualStudio.Modeling.DslDefinition.Decorator -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators>
Public Shared Function GetLinks (source As DiagramElement, target As Decorator) As ReadOnlyCollection(Of DiagramElementHasDecorators)

参数

target
Decorator

返回

ReadOnlyCollection<DiagramElementHasDecorators>
属性

适用于