DomainDataDirectory.Contains Method
Indicates whether the directory contains an object with a specific ID.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
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.Guid
The 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.