DomainDataDirectory.GetDomainModel Method

Definition

Overloads

GetDomainModel(Guid)

Gets domain model by Id.

GetDomainModel(String)

Gets domain model by full name.

GetDomainModel(Type)

Gets domain model by implementation type.

GetDomainModel(Guid)

Gets domain model by Id.

public:
 Microsoft::VisualStudio::Modeling::DomainModelInfo ^ GetDomainModel(Guid id);
public Microsoft.VisualStudio.Modeling.DomainModelInfo GetDomainModel (Guid id);
member this.GetDomainModel : Guid -> Microsoft.VisualStudio.Modeling.DomainModelInfo
Public Function GetDomainModel (id As Guid) As DomainModelInfo

Parameters

id
Guid

Id of the model to look for.

Returns

DomainModelInfo with specified Id.

Exceptions

Applies to

GetDomainModel(String)

Gets domain model by full name.

public:
 Microsoft::VisualStudio::Modeling::DomainModelInfo ^ GetDomainModel(System::String ^ modelFullName);
public Microsoft.VisualStudio.Modeling.DomainModelInfo GetDomainModel (string modelFullName);
member this.GetDomainModel : string -> Microsoft.VisualStudio.Modeling.DomainModelInfo
Public Function GetDomainModel (modelFullName As String) As DomainModelInfo

Parameters

modelFullName
String

Full name of the model to look for.

Returns

DomainModelInfo with specified name.

Exceptions

Applies to

GetDomainModel(Type)

Gets domain model by implementation type.

public:
 Microsoft::VisualStudio::Modeling::DomainModelInfo ^ GetDomainModel(Type ^ type);
public Microsoft.VisualStudio.Modeling.DomainModelInfo GetDomainModel (Type type);
member this.GetDomainModel : Type -> Microsoft.VisualStudio.Modeling.DomainModelInfo
Public Function GetDomainModel (type As Type) As DomainModelInfo

Parameters

type
Type

Implementation type of the model to look for.

Returns

DomainModelInfo with specified Id.

Exceptions

Applies to