ModelElement.GetRoleCollection<TCollection, TElement> Yöntem (ModelElement, Guid)
Alır veya bağlı öğe koleksiyonu oluşturur
Ad alanı: Microsoft.VisualStudio.Modeling
Derleme: Microsoft.VisualStudio.Modeling.Sdk.11.0 (Microsoft.VisualStudio.Modeling.Sdk.11.0.dll içinde)
Sözdizimi
'Bildirim
Protected Shared Function GetRoleCollection(Of TCollection As ReadOnlyLinkedElementCollection(Of TElement), TElement As ModelElement) ( _
modelElement As ModelElement, _
domainRoleId As Guid _
) As TCollection
protected static TCollection GetRoleCollection<TCollection, TElement>(
ModelElement modelElement,
Guid domainRoleId
)
where TCollection : ReadOnlyLinkedElementCollection<TElement>
where TElement : ModelElement
Tür Parametreleri
- TCollection
İnstanciate için koleksiyon türü
- TElement
Koleksiyondaki öðeleri için türü
Parametreler
- modelElement
Tür: Microsoft.VisualStudio.Modeling.ModelElement
Kaynak rolü player
- domainRoleId
Tür: System.Guid
Rol kimliği
Dönüş Değeri
Tür: TCollection
.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.