Store.FindDomainModel Method
Finds a domain model by its ID.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public Function FindDomainModel ( _
domainModelId As Guid _
) As DomainModel
'Usage
Dim instance As Store
Dim domainModelId As Guid
Dim returnValue As DomainModel
returnValue = instance.FindDomainModel(domainModelId)
public DomainModel FindDomainModel(
Guid domainModelId
)
public:
DomainModel^ FindDomainModel(
Guid domainModelId
)
public function FindDomainModel(
domainModelId : Guid
) : DomainModel
Parameters
domainModelId
Type: System.GuidThe ID of the domain model.
Return Value
Type: Microsoft.VisualStudio.Modeling.DomainModel
A domain model instance; or nulla null reference (Nothing in Visual Basic) if no domain model instance is found.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.