Udostępnij za pośrednictwem


Metoda ElementGroup.GetElements — (Guid)

Pobierz zestaw wystąpień elementu klasy określonej domeny, które są zawarte w tej grupie.Nie dotyczy to zbiór elementów zawartych przez dziecko podgrup.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (w Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Składnia

'Deklaracja
Public Function GetElements ( _
    domainClassId As Guid _
) As Collection(Of ModelElement)
public Collection<ModelElement> GetElements(
    Guid domainClassId
)

Parametry

  • domainClassId
    Typ: System.Guid
    Identyfikator klasy domeny elementów szukamy

Wartość zwracana

Typ: System.Collections.ObjectModel.Collection<ModelElement>

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ElementGroup Klasa

Przeciążenie GetElements

Przestrzeń nazw Microsoft.VisualStudio.Modeling