Share via


TemplateWizardDisallowUserTemplatesSecurityAttribute Class

Specifies that the template wizard extension will only load templates located in the Visual Studio installation directory or one of its subdirectories.

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := False, AllowMultiple := False)> _
Public NotInheritable Class TemplateWizardDisallowUserTemplatesSecurityAttribute _
    Inherits Attribute
'Usage
Dim instance As TemplateWizardDisallowUserTemplatesSecurityAttribute
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class TemplateWizardDisallowUserTemplatesSecurityAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited = false, AllowMultiple = false)]
public ref class TemplateWizardDisallowUserTemplatesSecurityAttribute sealed : public Attribute
public final class TemplateWizardDisallowUserTemplatesSecurityAttribute extends Attribute

Remarks

For more information about using attributes, see Extending Metadata Using Attributes.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.VisualStudio.TemplateWizard.TemplateWizardDisallowUserTemplatesSecurityAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

TemplateWizardDisallowUserTemplatesSecurityAttribute Members

Microsoft.VisualStudio.TemplateWizard Namespace