IVsUIShell2::GetOpenFileNameViaDlgEx Method (array<VSOPENFILENAMEW>^, String^)
Visual Studio 2015
Brings up the File Open dialog box to obtain a specified open file.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int GetOpenFileNameViaDlgEx( array<VSOPENFILENAMEW>^ pOpenFileName, String^ pszHelpTopic )
Parameters
- pOpenFileName
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VSOPENFILENAMEW>^
[in, out] A VSOPENFILENAMEW structure that contains information used to initialize the File Open dialog box. When this method returns, this structure contains information about the user's file selection.
- pszHelpTopic
-
Type:
System::String^
[in] A string containing the help topic.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsUIShell2::GetOpenFileNameViaDlgEx( [in,out] VSOPENFILENAMEW *pOpenFileName, [in] LPCOLESTR pszHelpTopic );
Show: