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.GuidThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.