Store.GetDomainModel Method (Guid)
Gets an instance of a domain model by its ID.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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: System.GuidThe 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
- 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.