Share via


VCWizCtlClass.DoesFileExist Method

Determines whether the specified file name exists.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Syntax

'Declaration
Public Overridable Function DoesFileExist ( _
    bstrFileName As String _
) As Boolean
public virtual bool DoesFileExist(
    string bstrFileName
)
public:
virtual bool DoesFileExist(
    [InAttribute] String^ bstrFileName
)
abstract DoesFileExist : 
        bstrFileName:string -> bool  
override DoesFileExist : 
        bstrFileName:string -> bool
public function DoesFileExist(
    bstrFileName : String
) : boolean

Parameters

  • bstrFileName
    Type: System.String

    Required. A string containing the name of the file.

Return Value

Type: System.Boolean
true if the file exists; otherwise, false.

Implements

IVCWizCtlUI.DoesFileExist(String)

.NET Framework Security

See Also

Reference

VCWizCtlClass Class

Microsoft.VisualStudio.VsWizard Namespace

Other Resources

Designing a Wizard

Visual C++ Extensibility Object Model