Share via


TemplateWizardDisallowUserTemplatesSecurityAttribute(Boolean) Constructor

Definition

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.

Applies to