Share via


IVsProject4.GetItemContext Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function GetItemContext ( _
    itemid As UInteger, _
    <OutAttribute> ByRef ppSP As IServiceProvider _
) As Integer
int GetItemContext(
    uint itemid,
    out IServiceProvider ppSP
)
int GetItemContext(
    [InAttribute] unsigned int itemid, 
    [OutAttribute] IServiceProvider^% ppSP
)
abstract GetItemContext : 
        itemid:uint32 * 
        ppSP:IServiceProvider byref -> int
function GetItemContext(
    itemid : uint, 
    ppSP : IServiceProvider
) : int

Parameters

  • itemid
    Type: UInt32

Return Value

Type: Int32

.NET Framework Security

See Also

Reference

IVsProject4 Interface

Microsoft.VisualStudio.Shell.Interop Namespace