Delen 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
public bool DisallowUserTemplates { get; }
public:
property bool DisallowUserTemplates {
    bool get ();
}
member DisallowUserTemplates : bool with get
function get DisallowUserTemplates () : boolean

Property Value

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

.NET Framework Security

See Also

Reference

TemplateWizardDisallowUserTemplatesSecurityAttribute Class

Microsoft.VisualStudio.TemplateWizard Namespace