IVsCodePageSelection::ShowEncodingDialog Method (String^, IVsUserData^)
Visual Studio 2015
Show the dialog for selecting an encoding for opening a file.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Parameters
- pszFileName
-
Type:
System::String^
[in] The name of the file to be opened.
- pUserData
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsUserData^
[in] User data for the file to be opened.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr2.idl:
HRESULT IVsCodePageSelection::ShowEncodingDialog( [in] LPCOLESTR pszFileName, [in] IVsUserData *pUserData );
Show: