共用方式為


DesignerHasDiagram.GetLinks(Designer, Diagram) Method

Definition

Get any DesignerHasDiagram links between a given Designer and a Diagram.

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

Parameters

source
Designer
target
Diagram

Returns

Attributes

Applies to