DomainDataDirectory.GetDomainModel Method (String)

Gets a domain model by full name.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

声明
Public Function GetDomainModel ( _
    modelFullName As String _
) As DomainModelInfo
public DomainModelInfo GetDomainModel(
    string modelFullName
)
public:
DomainModelInfo^ GetDomainModel(
    String^ modelFullName
)
member GetDomainModel : 
        modelFullName:string -> DomainModelInfo 
public function GetDomainModel(
    modelFullName : String
) : DomainModelInfo

Parameters

  • modelFullName
    Type: System.String
    The full name of the domain model.

Return Value

Type: Microsoft.VisualStudio.Modeling.DomainModelInfo
A DomainModelInfo object with the specified name.

Exceptions

Exception Condition
ArgumentNullException

If a nulla null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic) is passed in as an argument.

DomainDataNotFoundException

If the requested domain model is not found.

Remarks

If the domain model is not found, an exception is thrown.

.NET Framework Security

See Also

Reference

DomainDataDirectory Class

GetDomainModel Overload

Microsoft.VisualStudio.Modeling Namespace