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
- 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.