다음을 통해 공유


DomainDataDirectory.GetDomainModel Method (Guid)

Gets a domain model 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 GetDomainModel ( _
    id As Guid _
) As DomainModelInfo
public DomainModelInfo GetDomainModel(
    Guid id
)
public:
DomainModelInfo^ GetDomainModel(
    Guid id
)
member GetDomainModel : 
        id:Guid -> DomainModelInfo 
public function GetDomainModel(
    id : Guid
) : DomainModelInfo

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DomainModelInfo
A DomainModelInfo object with the specified ID.

Exceptions

Exception Condition
DomainDataNotFoundException

If the requested domain model is not found.

.NET Framework Security

See Also

Reference

DomainDataDirectory Class

GetDomainModel Overload

Microsoft.VisualStudio.Modeling Namespace