Udostępnij za pośrednictwem


Metoda IElementDirectory.ContainsElement —

Pobiera się, czy element z określonym Identyfikatorem znajduje się w katalogu.

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

Składnia

'Deklaracja
Function ContainsElement ( _
    elementId As Guid _
) As Boolean
bool ContainsElement(
    Guid elementId
)

Parametry

  • elementId
    Typ: System.Guid
    Identyfikator elementu ma być sprawdzony.

Wartość zwracana

Typ: System.Boolean
wartość true, jeśli element znajduje się w magazynie; w przeciwnym razie wartość false.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

IElementDirectory Interfejs

Przestrzeń nazw Microsoft.VisualStudio.Modeling