Store.GetDomainModel Method (Guid)

Gets an instance of a domain model by 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 GetDomainModel ( _
    domainModelId As Guid _
) As DomainModel
public DomainModel GetDomainModel(
    Guid domainModelId
)
public:
DomainModel^ GetDomainModel(
    Guid domainModelId
)
member GetDomainModel : 
        domainModelId:Guid -> DomainModel
public function GetDomainModel(
    domainModelId : Guid
) : DomainModel

Parameters

  • domainModelId
    Type: Guid

    The ID of the domain model.

Return Value

Type: Microsoft.VisualStudio.Modeling.DomainModel
Instance of the domain model.

Remarks

This method will throw an ArgumentException if the domain model if not found.

.NET Framework Security

See Also

Reference

Store Class

GetDomainModel Overload

Microsoft.VisualStudio.Modeling Namespace