Determines whether the specified file name exists.
Namespace: Microsoft.VisualStudio.VsWizard
Assembly: Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
声明
Public Overridable Function DoesFileExist ( _
bstrFileName As String _
) As Boolean
用法
Dim instance As VCWizCtlClass
Dim bstrFileName As String
Dim returnValue As Boolean
returnValue = instance.DoesFileExist(bstrFileName)
public virtual bool DoesFileExist(
string bstrFileName
)
public:
virtual bool DoesFileExist(
[InAttribute] String^ bstrFileName
)
public function DoesFileExist(
bstrFileName : String
) : boolean
Parameters
bstrFileName
Type: System.StringRequired. A string containing the name of the file.
Return Value
Type: System.Boolean
true if the file exists; otherwise, false.
Implements
IVCWizCtlUI.DoesFileExist(String)
Permissions
- 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.
See Also
Concepts
Visual C++ Extensibility Object Model