ProvideUIContextRuleAttribute Class
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.
This attribute 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
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ProvideUIContextRuleAttribute = class
inherit RegistrationAttribute
Public NotInheritable Class ProvideUIContextRuleAttribute
Inherits RegistrationAttribute
- Inheritance
- Attributes
Constructors
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 |
Context Guid for the UI context to be created |
Delay |
Delay in ms to be applied before activating the UI context |
Expression |
Expression to be evaluated for determining state of the UI context |
Name |
Diagnostics name for the UI context created |
TermNames |
List of Term names used in the expression |
TermValues |
Values of terms used in the expression |
TypeId |
Override the TypeID property in order to let the RegistrationAttribute derived classes to work with System.ComponentModel.TypeDescriptor.GetAttributes(...). An attribute derived from this one will have to override this property only if it needs a better control on the instances that can be applied to a class. (Inherited from RegistrationAttribute) |
Methods
GetPackageRegKeyPath(Guid) |
Gets the registry path (relative to the registry root of the application) of the VSPackage. (Inherited from RegistrationAttribute) |
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 such as the type being registered, and path information. |
Unregister(RegistrationAttribute+RegistrationContext) |
Unregister this AutoLoad specification. |