Share via


ModelingTextTransformation.AddDomainModel Method (Type)

 

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

protected void AddDomainModel(
    Type modelType
)
protected:
void AddDomainModel(
    Type^ modelType
)
member AddDomainModel : 
        modelType:Type -> unit
Protected Sub AddDomainModel (
    modelType As Type
)

Parameters

  • modelType
    Type: System.Type

    Domain model type defined by a domain-specific language.

See Also

ModelingTextTransformation Class
Microsoft.VisualStudio.TextTemplating.VSHost Namespace

Return to top