Partager via


IVsMonitorUserContext.RegisterItemProvider Method

Method information is not provided. Do not use this method.

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

Syntax

'Déclaration
Function RegisterItemProvider ( _
    pProvider As IVsUserContextItemProvider, _
    <OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
'Utilisation
Dim instance As IVsMonitorUserContext
Dim pProvider As IVsUserContextItemProvider
Dim pdwCookie As UInteger
Dim returnValue As Integer

returnValue = instance.RegisterItemProvider(pProvider, _
    pdwCookie)
int RegisterItemProvider(
    IVsUserContextItemProvider pProvider,
    out uint pdwCookie
)
int RegisterItemProvider(
    [InAttribute] IVsUserContextItemProvider^ pProvider, 
    [OutAttribute] unsigned int% pdwCookie
)
abstract RegisterItemProvider : 
        pProvider:IVsUserContextItemProvider * 
        pdwCookie:uint32 byref -> int 
function RegisterItemProvider(
    pProvider : IVsUserContextItemProvider, 
    pdwCookie : uint
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsMonitorUserContext Interface

IVsMonitorUserContext Members

Microsoft.VisualStudio.Shell.Interop Namespace