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.
Add a domain model type to be loaded by the Store. Call this for each domain model before calling Initialize().
Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.Modeling.12.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll)
Syntax
'Declaration
Protected Sub AddDomainModel ( _
    modelType As Type _
)
protected void AddDomainModel(
    Type modelType
)
protected:
void AddDomainModel(
    Type^ modelType
)
member AddDomainModel : 
        modelType:Type -> unit
protected function AddDomainModel(
    modelType : Type
)
Parameters
- modelType 
 Type: System.Type- Domain model type defined by a domain-specific language. 
.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.