TaskProvider.ToolbarId Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets this provider's toolbar ID.
public:
property int ToolbarId { int get(); void set(int value); };
public:
property int ToolbarId { int get(); void set(int value); };
public int ToolbarId { get; set; }
member this.ToolbarId : int with get, set
Public Property ToolbarId As Integer
The toolbar ID.
Set the ToolbarGroup to null
and ToolbarId to 0 to indicate that this provider has no toolbar. If you do provide a toolbar, you must include the provider dropdown as the first group, by including this line in your CTC file:
guidSHLMainMenu:IDG_VS_TASKLIST_PROVIDERLIST, <your toolbar's group>:<your toolbar menu ID>, 0x0100;
For examples of this use, see ShellCmdPlace.ctc in the Common\Inc directory of the Visual Studio SDK.