Share via


TemplateWizardSecurityAttribute Constructor

Specifies that the template wizard extension will only run when called by the specified template.

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

Syntax

'Declaration
Public Sub New ( _
    callingTemplate As String _
)
public TemplateWizardSecurityAttribute(
    string callingTemplate
)
public:
TemplateWizardSecurityAttribute(
    String^ callingTemplate
)
new : 
        callingTemplate:string -> TemplateWizardSecurityAttribute
public function TemplateWizardSecurityAttribute(
    callingTemplate : String
)

Parameters

  • callingTemplate
    Type: System.String

    The name of the template allowed to call the template wizard extension. For example, MyTemplate.vstemplate.

.NET Framework Security

See Also

Reference

TemplateWizardSecurityAttribute Class

Microsoft.VisualStudio.TemplateWizard Namespace