Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Brings up the File Open dialog box to obtain a specified open file.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Sub GetOpenFileNameViaDlgEx2 ( _
<OutAttribute> openFileName As VSOPENFILENAMEW(), _
HelpTopic As String, _
openButtonLabel As String _
)
void GetOpenFileNameViaDlgEx2(
VSOPENFILENAMEW[] openFileName,
string HelpTopic,
string openButtonLabel
)
void GetOpenFileNameViaDlgEx2(
[InAttribute] [OutAttribute] array<VSOPENFILENAMEW>^ openFileName,
[InAttribute] String^ HelpTopic,
[InAttribute] String^ openButtonLabel
)
abstract GetOpenFileNameViaDlgEx2 :
openFileName:VSOPENFILENAMEW[] byref *
HelpTopic:string *
openButtonLabel:string -> unit
function GetOpenFileNameViaDlgEx2(
openFileName : VSOPENFILENAMEW[],
HelpTopic : String,
openButtonLabel : String
)
Parameters
openFileName
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.
HelpTopic
Type: String[in] A string containing the help topic.
openButtonLabel
Type: 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.
.NET Framework Security
- 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.