Compartir a través de


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

Return Value

Type: System.Int32

Implements

IVsProject3.OpenItem(UInt32, Guid%, IntPtr, IVsWindowFrame%)

.NET Framework Security

See Also

Reference

IVsProject4 Interface

IVsProject4 Members

OpenItem Overload

Microsoft.VisualStudio.Shell.Interop Namespace