Share via


ActivationConstraint.UIContext(Guid) Method

Definition

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.

Applies to