Microsoft.VisualStudio.TemplateWizard Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
TemplateWizardDisallowUserTemplatesSecurityAttribute |
This attribute can be placed on a wizard extension implemention to restrict which templates can call into the wizard extension. |
TemplateWizardSecurityAttribute |
This attribute can be placed on a wizard extension implemention to restrict which templates can load the wizard extension. |
WizardBackoutException |
Exception that can be thrown to back out of the template wizard. |
WizardCancelledException |
Exception that can be thrown to cancel processing within the template wizard. |
Interfaces
IFilterTokenValues |
Interface implemented by a component that wishes to modify template replacement values. Used to fixup replacement values on a per-programming language basis. For example, the identifier ab$cd may not be acceptable to some languages, so using a filter, this value can be translated into ab_cd, an identifier that is acceptible. |
IWizard |
Interface implemented by a wizard extension to receive notification as the wizard processes the .vstemplate file. An implementation of this interface can modify how the template is processed, or to perform custom work that the template wizard does not do. |
IWizard2 |
Optional interface for template wizards. This interface supports scenarios where the solution hierarchy location for adding new items is different from the current hierarchy selection -- for example, wizards running in a Visual Studio Codespace won't have a selection in the solution hierarchy. |
Enums
WizardRunKind |
Enumeration defining how the wizard will process the .vstemplate file. |