TemplateWizardDisallowUserTemplatesSecurityAttribute(Boolean) Constructor
Definition
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.
Attribute constructor.
public:
TemplateWizardDisallowUserTemplatesSecurityAttribute(bool disallowUserTemplates);
public:
TemplateWizardDisallowUserTemplatesSecurityAttribute(bool disallowUserTemplates);
TemplateWizardDisallowUserTemplatesSecurityAttribute(bool disallowUserTemplates);
public TemplateWizardDisallowUserTemplatesSecurityAttribute (bool disallowUserTemplates);
new Microsoft.VisualStudio.TemplateWizard.TemplateWizardDisallowUserTemplatesSecurityAttribute : bool -> Microsoft.VisualStudio.TemplateWizard.TemplateWizardDisallowUserTemplatesSecurityAttribute
Public Sub New (disallowUserTemplates As Boolean)
Parameters
- disallowUserTemplates
- Boolean
If true, then only templates installed into the Program Files folder can instantiate this installer. If false, then all templates can instantiate it.