Compartilhar via


IElementDirectory.ContainsElement Method

Gets whether an element with the specified ID is in the directory.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaração
Function ContainsElement ( _
    elementId As Guid _
) As Boolean
bool ContainsElement(
    Guid elementId
)
bool ContainsElement(
    Guid elementId
)
abstract ContainsElement : 
        elementId:Guid -> bool 
function ContainsElement(
    elementId : Guid
) : boolean

Parameters

  • elementId
    Type: System.Guid
    The ID of the element to be checked.

Return Value

Type: System.Boolean
true if the element is in the store; otherwise, false.

.NET Framework Security

See Also

Reference

IElementDirectory Interface

Microsoft.VisualStudio.Modeling Namespace