VCWizCtlClass.DoesFileExist - метод
Determines whether the specified file name exists.
Пространство имен: Microsoft.VisualStudio.VsWizard
Сборка: Microsoft.VisualStudio.VsWizard (в Microsoft.VisualStudio.VsWizard.dll)
Синтаксис
'Декларация
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
Параметры
bstrFileName
Тип: System.StringRequired. A string containing the name of the file.
Возвращаемое значение
Тип: System.Boolean
true if the file exists; otherwise, false.
Реализации
IVCWizCtlUI.DoesFileExist(String)
Разрешения
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Using Libraries from Partially Trusted Code.
См. также
Основные понятия
Visual C++ Extensibility Object Model