Metoda ParentShapeHasRelativeChildShapes.GetLinks —
Pobierz ParentShapeHasRelativeChildShapes łącza między danym ShapeElement i ShapeElement.
Przestrzeń nazw: Microsoft.VisualStudio.Modeling.Diagrams
Zestaw: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Składnia
'Deklaracja
Public Shared Function GetLinks ( _
source As ShapeElement, _
target As ShapeElement _
) As ReadOnlyCollection(Of ParentShapeHasRelativeChildShapes)
public static ReadOnlyCollection<ParentShapeHasRelativeChildShapes> GetLinks(
ShapeElement source,
ShapeElement target
)
Parametry
Wartość zwracana
Typ: System.Collections.ObjectModel.ReadOnlyCollection<ParentShapeHasRelativeChildShapes>
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..