IVsTaskListEvents.OnCommentTaskInfoChanged Method
Provides notification that the set of comment task tokens has been modified.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function OnCommentTaskInfoChanged As Integer
'Usage
Dim instance As IVsTaskListEvents
Dim returnValue As Integer
returnValue = instance.OnCommentTaskInfoChanged()
int OnCommentTaskInfoChanged()
int OnCommentTaskInfoChanged()
abstract OnCommentTaskInfoChanged : unit -> int
function OnCommentTaskInfoChanged() : int
Return Value
Type: System.Int32
Remarks
Comment task tokens can be changed or added by users through the Visual Studio IDE by selecting the Task List node of the Environment tree from the Options menu item of the Tools menu.
Task providers that provide comment tasks should call this method to ensure that their information regarding comment tasks remains current with the task list. This method can be used to update the information in IVsCommentTaskInfo, and to refresh the task list in case new tasks exist that are based upon the updated comment task tokens.
.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.