共用方式為


CommandBar.Context Property

Gets or sets the location where the command bar is saved. Always returns the empty string.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'宣告
Property Context As String
string Context { get; set; }

Property Value

Type: System.String
Always returns the empty string.

Remarks

This is not supported in Visual Studio.

.NET Framework Security

See Also

Reference

CommandBar Interface

Microsoft.VisualStudio.CommandBars Namespace