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: GuidThe 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
- 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.