CommandBar.Context Property
Definition
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.
Returns or sets a string that determines where a command bar will be saved.
public:
property System::String ^ Context { System::String ^ get(); void set(System::String ^ value); };
public string Context { get; set; }
member this.Context : string with get, set
Public Property Context As String
Property Value
Remarks
The returned string is defined and interpreted by the application.
You can set the Context property only for custom command bars. This property will fail if the application doesn't recognize the context string, or if the application doesn't support changing context strings programmatically.