次の方法で共有


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

'宣言
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