DomainDataDirectory.FindDomainClass Method (Guid)

Finds a domain class by specifying its ID.

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

Syntax

'Declaration
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

  • id
    Type: Guid

    The ID of the domain class.

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