Delen via


DomainDataDirectory.FindDomainModel Method (Guid)

Finds a domain model in the data directory.

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

Syntax

'Declaration
Public Function FindDomainModel ( _
    id As Guid _
) As DomainModelInfo
public DomainModelInfo FindDomainModel(
    Guid id
)
public:
DomainModelInfo^ FindDomainModel(
    Guid id
)
member FindDomainModel : 
        id:Guid -> DomainModelInfo
public function FindDomainModel(
    id : Guid
) : DomainModelInfo

Parameters

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