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.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.TypeDomain 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.