Share via


TemplateWizardDisallowUserTemplatesSecurityAttribute.DisallowUserTemplates Property

Gets a value that indicates whether to disallow user templates.

Namespace:  Microsoft.VisualStudio.TemplateWizard
Assembly:  Microsoft.VisualStudio.TemplateWizardInterface (in Microsoft.VisualStudio.TemplateWizardInterface.dll)

Syntax

'Declaration
Public ReadOnly Property DisallowUserTemplates As Boolean
'Usage
Dim instance As TemplateWizardDisallowUserTemplatesSecurityAttribute 
Dim value As Boolean 

value = instance.DisallowUserTemplates
public bool DisallowUserTemplates { get; }
public:
property bool DisallowUserTemplates {
    bool get ();
}
public function get DisallowUserTemplates () : boolean

Property Value

Type: System.Boolean
true to disallow user templates; otherwise, false.

.NET Framework Security

See Also

Reference

TemplateWizardDisallowUserTemplatesSecurityAttribute Class

TemplateWizardDisallowUserTemplatesSecurityAttribute Members

Microsoft.VisualStudio.TemplateWizard Namespace