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)

public DomainModel GetDomainModel(
	Guid domainModelId
)

Parameters

domainModelId
Type: System.Guid

The ID of the domain model.

Return Value

Type: Microsoft.VisualStudio.Modeling.DomainModel

Instance of the domain model.

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

Return to top
Show: