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


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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft