ProvideUIContextRuleAttribute ProvideUIContextRuleAttribute ProvideUIContextRuleAttribute ProvideUIContextRuleAttribute ProvideUIContextRuleAttribute Class

Definition

Registers an UI context rule.

public ref class ProvideUIContextRuleAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideUIContextRuleAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideUIContextRuleAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
type ProvideUIContextRuleAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideUIContextRuleAttribute
Inherits RegistrationAttribute
Inheritance
ProvideUIContextRuleAttributeProvideUIContextRuleAttributeProvideUIContextRuleAttributeProvideUIContextRuleAttributeProvideUIContextRuleAttribute
Attributes

Constructors

ProvideUIContextRuleAttribute(String, String, String, String[], String[], UInt32) ProvideUIContextRuleAttribute(String, String, String, String[], String[], UInt32) ProvideUIContextRuleAttribute(String, String, String, String[], String[], UInt32) ProvideUIContextRuleAttribute(String, String, String, String[], String[], UInt32) ProvideUIContextRuleAttribute(String, String, String, String[], String[], UInt32)

Creates a rule based UI context entry that is activated when the expression is evaluated to true.

Properties

ContextGuid ContextGuid ContextGuid ContextGuid ContextGuid

Gets the GUID of the UI context to be created.

Delay Delay Delay Delay Delay

Gets the delay, in milliseconds, before activating the UI context.

Expression Expression Expression Expression Expression

Gets the expression to be evaluated for determining state of the UI context.

Name Name Name Name Name

Gets the diagnostics name for the UI context created.

TermNames TermNames TermNames TermNames TermNames

Gets the term names used in the expression.

TermValues TermValues TermValues TermValues TermValues

Gets the values of terms used in the expression

TypeId TypeId TypeId TypeId TypeId

Gets the current instance of this attribute.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext)

Called to register this attribute with the given context. The context contains the location where the registration information should be placed. It also contains the type being registered and path information.

Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext)

Unregisters the attribute.

Applies to