IVsProject4.GetItemContext Method (UInt32, IServiceProvider%)
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaración
Function GetItemContext ( _
itemid As UInteger, _
<OutAttribute> ByRef ppSP As IServiceProvider _
) As Integer
'Uso
Dim instance As IVsProject4
Dim itemid As UInteger
Dim ppSP As IServiceProvider
Dim returnValue As Integer
returnValue = instance.GetItemContext(itemid, _
ppSP)
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
Implements
IVsProject3.GetItemContext(UInt32, IServiceProvider%)
.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.