Aracılığıyla paylaş


PresentationViewsSubject.GetLinks Yöntem

Belirli bir PresentationElement ve bir ModelElement arasında herhangi bir PresentationViewsSubject bağlantılara ulaşın.

Ad alanı:  Microsoft.VisualStudio.Modeling.Diagrams
Derleme:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll içinde)

Sözdizimi

'Bildirim
Public Shared Function GetLinks ( _
    source As PresentationElement, _
    target As ModelElement _
) As ReadOnlyCollection(Of PresentationViewsSubject)
public static ReadOnlyCollection<PresentationViewsSubject> GetLinks(
    PresentationElement source,
    ModelElement target
)

Parametreler

Dönüş Değeri

Tür: System.Collections.ObjectModel.ReadOnlyCollection<PresentationViewsSubject>

Notlar

Bu ilişkinin iki nesne arasında birden fazla bağlantı olmamalıdır.Onun yerine GetLink kullanın.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

PresentationViewsSubject Sınıf

Microsoft.VisualStudio.Modeling.Diagrams Ad Alanı