ActivationConstraint.UIContext(Guid) 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 an activation constraint that is true
when the provided Visual Studio UI Context
is enabled.
public static Microsoft.VisualStudio.Extensibility.ActivationConstraint UIContext (Guid uiContextId);
static member UIContext : Guid -> Microsoft.VisualStudio.Extensibility.ActivationConstraint
Public Shared Function UIContext (uiContextId As Guid) As ActivationConstraint
Parameters
- uiContextId
- Guid
The identifier of the Visual Studio UI Context.
Returns
A constraint that is true
when the provided Visual Studio UI Context is enabled.