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
- target
Tür: Microsoft.VisualStudio.Modeling.ModelElement
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
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.