共用方式為


DomainDataDirectory.FindDomainClass Method (Guid)

Finds a domain class by specifying its ID.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public Function FindDomainClass ( _
    id As Guid _
) As DomainClassInfo
public DomainClassInfo FindDomainClass(
    Guid id
)
public:
DomainClassInfo^ FindDomainClass(
    Guid id
)
member FindDomainClass : 
        id:Guid -> DomainClassInfo 
public function FindDomainClass(
    id : Guid
) : DomainClassInfo

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DomainClassInfo
A DomainClassInfo object.

Remarks

If the domain class is not found, nulla null reference (Nothing in Visual Basic) is returned.

.NET Framework Security

See Also

Reference

DomainDataDirectory Class

FindDomainClass Overload

Microsoft.VisualStudio.Modeling Namespace