IWizard.ShouldAddProjectItem メソッド
更新 : 2007 年 11 月
指定したプロジェクト項目をプロジェクトに追加するかどうかを示します。
名前空間 : Microsoft.VisualStudio.TemplateWizard
アセンブリ : Microsoft.VisualStudio.TemplateWizardInterface (Microsoft.VisualStudio.TemplateWizardInterface.dll 内)
構文
'宣言
Function ShouldAddProjectItem ( _
filePath As String _
) As Boolean
'使用
Dim instance As IWizard
Dim filePath As String
Dim returnValue As Boolean
returnValue = instance.ShouldAddProjectItem(filePath)
bool ShouldAddProjectItem(
string filePath
)
bool ShouldAddProjectItem(
String^ filePath
)
function ShouldAddProjectItem(
filePath : String
) : boolean
パラメータ
filePath
型 : System.Stringプロジェクト項目のパス。
戻り値
型 : System.Boolean
プロジェクト項目をプロジェクトに追加する場合は true。それ以外の場合は false。
アクセス許可
- 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。