IWebFileCtxService.EnsureFileOpened(UInt32, IVsWindowFrame) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens a file by item identifier.
public:
int EnsureFileOpened(System::UInt32 itemid, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ % ppFrame);
public:
int EnsureFileOpened(unsigned int itemid, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ & ppFrame);
int EnsureFileOpened(unsigned int itemid, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame const & & ppFrame);
public int EnsureFileOpened (uint itemid, out Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ppFrame);
abstract member EnsureFileOpened : uint32 * IVsWindowFrame -> int
Public Function EnsureFileOpened (itemid As UInteger, ByRef ppFrame As IVsWindowFrame) As Integer
Parameters
- itemid
- UInt32
[in] Integer. The item identifier (VSITEMID) of the file to open.
- ppFrame
- IVsWindowFrame
[out] Pointer to the IVsWindowFrame interface of the opened file.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.