TemplateWizardSecurityAttribute コンストラクター
テンプレート ウィザードの拡張機能が、指定したテンプレートで呼び出された場合のみ実行するように指定します。
名前空間: Microsoft.VisualStudio.TemplateWizard
アセンブリ: Microsoft.VisualStudio.TemplateWizardInterface (Microsoft.VisualStudio.TemplateWizardInterface.dll 内)
構文
'宣言
Public Sub New ( _
callingTemplate As String _
)
public TemplateWizardSecurityAttribute(
string callingTemplate
)
public:
TemplateWizardSecurityAttribute(
String^ callingTemplate
)
new :
callingTemplate:string -> TemplateWizardSecurityAttribute
public function TemplateWizardSecurityAttribute(
callingTemplate : String
)
パラメーター
- callingTemplate
型: System.String
テンプレート ウィザードの拡張機能の呼び出しが許可されたテンプレートの名前。たとえば、MyTemplate.vstemplate などです。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。