다음을 통해 공유


DomainDataDirectory.FindDomainModel Method (Type)

Finds a domain model by specifying its implementation type.

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

Syntax

‘선언
Public Function FindDomainModel ( _
    type As Type _
) As DomainModelInfo
public DomainModelInfo FindDomainModel(
    Type type
)
public:
DomainModelInfo^ FindDomainModel(
    Type^ type
)
member FindDomainModel : 
        type:Type -> DomainModelInfo 
public function FindDomainModel(
    type : Type
) : DomainModelInfo

Parameters

  • type
    Type: System.Type
    The implementation type for 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