ProvideExtensibleUIContextRuleAttribute ProvideExtensibleUIContextRuleAttribute ProvideExtensibleUIContextRuleAttribute ProvideExtensibleUIContextRuleAttribute ProvideExtensibleUIContextRuleAttribute Class

Definition

This attribute registers an UI context rule

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

Constructors

ProvideExtensibleUIContextRuleAttribute(String, String, UInt32) ProvideExtensibleUIContextRuleAttribute(String, String, UInt32) ProvideExtensibleUIContextRuleAttribute(String, String, UInt32) ProvideExtensibleUIContextRuleAttribute(String, String, UInt32) ProvideExtensibleUIContextRuleAttribute(String, String, UInt32)

Creates an extensible rule based UI context entry that is activated when any of the terms added by other extensions is true.

The extenders would use the same GUID to create a new UI context rule with expression set to "*" to extend the rule created by this attribute.

Properties

ContextGuid ContextGuid ContextGuid ContextGuid ContextGuid

Context Guid for the UI context to be created

Delay Delay Delay Delay Delay

Delay in ms to be applied before activating the UI context

Name Name Name Name Name

Diagnostics name for the UI context created

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 such as the type being registered, and path information.

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

Unregister this AutoLoad specification.

Applies to