SettingRule.UIContext(Guid, Boolean) Method
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.
Creates a SettingRule that is satisfied when the Visual Studio UI Context
uiContextId
value is value
in the IDE.
public static Microsoft.VisualStudio.Extensibility.Settings.SettingRule UIContext (Guid uiContextId, bool value);
static member UIContext : Guid * bool -> Microsoft.VisualStudio.Extensibility.Settings.SettingRule
Public Shared Function UIContext (uiContextId As Guid, value As Boolean) As SettingRule
Parameters
- uiContextId
- Guid
The identifier of the Visual Studio UI Context.
- value
- Boolean
The value of the UI Context that satisfies this rule.
Returns
A SettingRule instance.