DomainDataDirectory.Contains Method
Indicates whether the directory contains an object with a specific ID.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Function Contains ( _
id As Guid _
) As Boolean
public bool Contains(
Guid id
)
public:
bool Contains(
Guid id
)
member Contains :
id:Guid -> bool
public function Contains(
id : Guid
) : boolean
Parameters
id
Type: System.GuidThe ID of the object.
Return Value
Type: System.Boolean
true if the object is found; 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.