DomainDataDirectory.FindDomainModel Method (String)

Finds a domain model by its full name.

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

Syntax

声明
Public Function FindDomainModel ( _
    modelFullName As String _
) As DomainModelInfo
public DomainModelInfo FindDomainModel(
    string modelFullName
)
public:
DomainModelInfo^ FindDomainModel(
    String^ modelFullName
)
member FindDomainModel : 
        modelFullName:string -> DomainModelInfo 
public function FindDomainModel(
    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 ID or null if not found.

Remarks

If the domain model is not found, nulla null reference (Nothing in Visual Basic) is returned.

.NET Framework Security

See Also

Reference

DomainDataDirectory Class

FindDomainModel Overload

Microsoft.VisualStudio.Modeling Namespace