Share 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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
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