Condividi tramite


IVsTaskList.UpdateProviderInfo Method

Updates the image and subcategory lists associated with the specified task provider.

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

Syntax

'Dichiarazione
Function UpdateProviderInfo ( _
    dwProviderCookie As UInteger _
) As Integer
'Utilizzo
Dim instance As IVsTaskList
Dim dwProviderCookie As UInteger
Dim returnValue As Integer

returnValue = instance.UpdateProviderInfo(dwProviderCookie)
int UpdateProviderInfo(
    uint dwProviderCookie
)
int UpdateProviderInfo(
    [InAttribute] unsigned int dwProviderCookie
)
abstract UpdateProviderInfo : 
        dwProviderCookie:uint32 -> int 
function UpdateProviderInfo(
    dwProviderCookie : uint
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsTaskList::UpdateProviderInfo(
   [in] VSCOOKIE dwProviderCookie
);

The task list caches the subcategory and image lists of task providers so it does not have to keep getting them from the task provider. The task provider should call this method if the information in these lists changes while the task provider is registered with the task list.

.NET Framework Security

See Also

Reference

IVsTaskList Interface

IVsTaskList Members

Microsoft.VisualStudio.Shell.Interop Namespace