IVsProject4.OpenItem Method (UInt32, Guid%, IntPtr, IVsWindowFrame%)
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaración
Function OpenItem ( _
itemid As UInteger, _
ByRef rguidLogicalView As Guid, _
punkDocDataExisting As IntPtr, _
<OutAttribute> ByRef ppWindowFrame As IVsWindowFrame _
) As Integer
'Uso
Dim instance As IVsProject4
Dim itemid As UInteger
Dim rguidLogicalView As Guid
Dim punkDocDataExisting As IntPtr
Dim ppWindowFrame As IVsWindowFrame
Dim returnValue As Integer
returnValue = instance.OpenItem(itemid, _
rguidLogicalView, punkDocDataExisting, _
ppWindowFrame)
int OpenItem(
uint itemid,
ref Guid rguidLogicalView,
IntPtr punkDocDataExisting,
out IVsWindowFrame ppWindowFrame
)
int OpenItem(
[InAttribute] unsigned int itemid,
[InAttribute] Guid% rguidLogicalView,
[InAttribute] IntPtr punkDocDataExisting,
[OutAttribute] IVsWindowFrame^% ppWindowFrame
)
abstract OpenItem :
itemid:uint32 *
rguidLogicalView:Guid byref *
punkDocDataExisting:IntPtr *
ppWindowFrame:IVsWindowFrame byref -> int
function OpenItem(
itemid : uint,
rguidLogicalView : Guid,
punkDocDataExisting : IntPtr,
ppWindowFrame : IVsWindowFrame
) : int
Parameters
- itemid
Type: System.UInt32
- rguidLogicalView
Type: System.Guid%
- punkDocDataExisting
Type: System.IntPtr
- ppWindowFrame
Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame%
Return Value
Type: System.Int32
Implements
IVsProject3.OpenItem(UInt32, Guid%, IntPtr, IVsWindowFrame%)
.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.