TemplateWizardDisallowUserTemplatesSecurityAttribute 类

定义

此属性可以放在向导扩展实现上,以限制哪些模板可以调用向导扩展。

public ref class TemplateWizardDisallowUserTemplatesSecurityAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public sealed class TemplateWizardDisallowUserTemplatesSecurityAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
type TemplateWizardDisallowUserTemplatesSecurityAttribute = class
    inherit Attribute
Public NotInheritable Class TemplateWizardDisallowUserTemplatesSecurityAttribute
Inherits Attribute
继承
TemplateWizardDisallowUserTemplatesSecurityAttribute
属性

构造函数

TemplateWizardDisallowUserTemplatesSecurityAttribute(Boolean)

属性构造函数。

属性

DisallowUserTemplates

获取一个值,该值指示是否禁止用户模板。

适用于