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: System.UInt32
Return Value
Type: System.Int32
.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.