VCWizCtlClass.CanCreateNewProjectAtLocation メソッド
指定された場所に新規プロジェクトを作成できるかどうかを示します。
名前空間 : Microsoft.VisualStudio.VsWizard
アセンブリ : Microsoft.VisualStudio.VsWizard (Microsoft.VisualStudio.VsWizard.dll 内)
構文
'宣言
Public Overridable Function CanCreateNewProjectAtLocation ( _
fCreateNewSolution As Boolean, _
bstrFullProjectFilePath As String, _
fDeleteDirectory As Boolean _
) As Boolean
'使用
Dim instance As VCWizCtlClass
Dim fCreateNewSolution As Boolean
Dim bstrFullProjectFilePath As String
Dim fDeleteDirectory As Boolean
Dim returnValue As Boolean
returnValue = instance.CanCreateNewProjectAtLocation(fCreateNewSolution, _
bstrFullProjectFilePath, fDeleteDirectory)
public virtual bool CanCreateNewProjectAtLocation(
bool fCreateNewSolution,
string bstrFullProjectFilePath,
bool fDeleteDirectory
)
public:
virtual bool CanCreateNewProjectAtLocation(
[InAttribute] bool fCreateNewSolution,
[InAttribute] String^ bstrFullProjectFilePath,
[InAttribute] bool fDeleteDirectory
)
public function CanCreateNewProjectAtLocation(
fCreateNewSolution : boolean,
bstrFullProjectFilePath : String,
fDeleteDirectory : boolean
) : boolean
パラメータ
fCreateNewSolution
型 : System.Boolean必ず指定します。プロジェクトで新しいソリューションが作成される場合は true、それ以外の場合は false。
bstrFullProjectFilePath
型 : System.String必ず指定します。プロジェクトの絶対パスおよびファイル名を含む文字列。
fDeleteDirectory
型 : System.Boolean必ず指定します。プロジェクトの一時ディレクトリを削除する場合は true、それ以外の場合は false。
戻り値
型 : System.Boolean
指定したディレクトリおよび名前でプロジェクトを作成できる場合は true を返します。それ以外の場合は false を返します。
実装
IVCWizCtlUI.CanCreateNewProjectAtLocation(Boolean, String, Boolean)
アクセス許可
- 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。