Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets an instance of a specified domain model type.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public Function GetDomainModel(Of T As DomainModel) As T
'Usage
Dim instance As Store
Dim returnValue As T
returnValue = instance.GetDomainModel()
public T GetDomainModel<T>()
where T : DomainModel
public:
generic<typename T>
where T : DomainModel
T GetDomainModel()
JScript does not support generic types or methods.
Type Parameters
- T
Return Value
Type: T
Instance of the domain model.
.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.