Share via


DomainDataDirectory.FindDomainModel Method

Definition

Overloads

FindDomainModel(Guid)

Finds domain model by Id.

FindDomainModel(String)

Finds domain model by full name.

FindDomainModel(Type)

Finds domain model by implementation type.

FindDomainModel(Guid)

Finds domain model by Id.

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

Parameters

id
Guid

Id of the model to look for.

Returns

DomainModelInfo with specified Id or null if not found.

Applies to

FindDomainModel(String)

Finds domain model by full name.

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

Parameters

modelFullName
String

Full name of the model to look for.

Returns

DomainModelInfo with specified name or null if not found.

Exceptions

Applies to

FindDomainModel(Type)

Finds domain model by implementation type.

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

Parameters

type
Type

Implementation type of the model to look for.

Returns

DomainModelInfo with specified type or null if not found.

Exceptions

Applies to