Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Opens a file by item identifier.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function EnsureFileOpened ( _
itemid As UInteger, _
<OutAttribute> ByRef ppFrame As IVsWindowFrame _
) As Integer
int EnsureFileOpened(
uint itemid,
out IVsWindowFrame ppFrame
)
int EnsureFileOpened(
[InAttribute] unsigned int itemid,
[OutAttribute] IVsWindowFrame^% ppFrame
)
abstract EnsureFileOpened :
itemid:uint32 *
ppFrame:IVsWindowFrame byref -> int
function EnsureFileOpened(
itemid : uint,
ppFrame : IVsWindowFrame
) : int
Parameters
itemid
Type: 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: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.