Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets or sets a group GUID and toolbar ID indicating which toolbar should be displayed when this provider is active.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Declaration
Public Property ToolbarGroup As Guid
Get
Set
'Usage
Dim instance As TaskProvider
Dim value As Guid
value = instance.ToolbarGroup
instance.ToolbarGroup = value
public Guid ToolbarGroup { get; set; }
public:
property Guid ToolbarGroup {
Guid get ();
void set (Guid value);
}
member ToolbarGroup : Guid with get, set
function get ToolbarGroup () : Guid
function set ToolbarGroup (value : Guid)
Property Value
Type: System.Guid
The group GUID and toolbar ID indicating which toolbar should be displayed when this provider is active.
Remarks
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.
.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.