Share via


IVsUIShell5.GetOpenFileNameViaDlgEx2 Method

Definition

Brings up the File Open dialog box to obtain a specified open file.

public:
 void GetOpenFileNameViaDlgEx2(cli::array <Microsoft::VisualStudio::Shell::Interop::VSOPENFILENAMEW> ^ openFileName, System::String ^ HelpTopic, System::String ^ openButtonLabel);
void GetOpenFileNameViaDlgEx2(std::Array <Microsoft::VisualStudio::Shell::Interop::VSOPENFILENAMEW> const & openFileName, std::wstring const & HelpTopic, std::wstring const & openButtonLabel);
public void GetOpenFileNameViaDlgEx2 (Microsoft.VisualStudio.Shell.Interop.VSOPENFILENAMEW[] openFileName, string HelpTopic, string openButtonLabel);
abstract member GetOpenFileNameViaDlgEx2 : Microsoft.VisualStudio.Shell.Interop.VSOPENFILENAMEW[] * string * string -> unit
Public Sub GetOpenFileNameViaDlgEx2 (openFileName As VSOPENFILENAMEW(), HelpTopic As String, openButtonLabel As String)

Parameters

openFileName
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.

HelpTopic
String

[in] A string containing the help topic.

openButtonLabel
String

[in] The caption of the Open button in the File Open dialog displayed during the call. This parameter overrides the default Open name of the button.

Applies to