IVCWizCtlUI.DoesFileOrDirectoryExist Method
Determines whether the specified file or directory exists.
Namespace: Microsoft.VisualStudio.VsWizard
Assembly: Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
'Declaration
Function DoesFileOrDirectoryExist ( _
bstrFileOrDirName As String _
) As Boolean
bool DoesFileOrDirectoryExist(
string bstrFileOrDirName
)
bool DoesFileOrDirectoryExist(
[InAttribute] String^ bstrFileOrDirName
)
abstract DoesFileOrDirectoryExist :
bstrFileOrDirName:string -> bool
function DoesFileOrDirectoryExist(
bstrFileOrDirName : String
) : boolean
Parameters
bstrFileOrDirName
Type: StringRequired. A string containing the name of the file or directory.
Return Value
Type: Boolean
true if the file or directory exists; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.