ExtensionExtendsElement.GetLinks(ExtensionElement, ModelElement) 方法

定义

获取给定 Extensionextendselement.extensionelement 和 ModelElement 之间的任何 Extensionextendselement.extensionelement 链接。

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

参数

target
ModelElement

返回

ReadOnlyCollection<ExtensionExtendsElement>
属性

适用于