Share via


ModelingTextTransformation.AddDomainModel Method

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.11.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.11.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: Type

    Domain model type defined by a domain-specific language.

.NET Framework Security

See Also

Reference

ModelingTextTransformation Class

Microsoft.VisualStudio.TextTemplating.VSHost Namespace