共用方式為


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
    Get
    Set
'用途
Dim instance As CommandBar
Dim value As String

value = instance.Context

instance.Context = value
string Context { get; set; }
property String^ Context {
    String^ get ();
    void set (String^ value);
}
abstract Context : string with get, set
function get Context () : String
function set Context (value : String)

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

CommandBar Members

Microsoft.VisualStudio.CommandBars Namespace