IWebFileCtxService::EnsureFileOpened Method (UInt32, IVsWindowFrame^)
Visual Studio 2015
Opens a file by item identifier.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- itemid
-
Type:
System::UInt32
[in] Integer. The item identifier (VSITEMID) of the file to open.
- ppFrame
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsWindowFrame^
[out] Pointer to the IVsWindowFrame interface of the opened file.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: