DomainDataDirectory.GetDomainClass Method (Guid)
Gets a domain class with a specific ID.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
Public Function GetDomainClass ( _
id As Guid _
) As DomainClassInfo
public DomainClassInfo GetDomainClass(
Guid id
)
public:
DomainClassInfo^ GetDomainClass(
Guid id
)
member GetDomainClass :
id:Guid -> DomainClassInfo
public function GetDomainClass(
id : Guid
) : DomainClassInfo
Parameters
- id
Type: System.Guid
The ID of the domain class.
Return Value
Type: Microsoft.VisualStudio.Modeling.DomainClassInfo
A DomainClassInfo object that has the specified ID.
Exceptions
Exception | Condition |
---|---|
DomainDataNotFoundException | If the requested domain class is not found. |
.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.