共用方式為


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

Return Value

Type: System.Boolean
true if the object is found; otherwise, false.

.NET Framework Security

See Also

Reference

DomainDataDirectory Class

Microsoft.VisualStudio.Modeling Namespace