ProvideUIContextRuleAttribute Class
Registers an UI context rule.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
System.Attribute
Microsoft.VisualStudio.Shell.RegistrationAttribute
Microsoft.VisualStudio.Shell.ProvideUIContextRuleAttribute
| Name | Description | |
|---|---|---|
![]() | ProvideUIContextRuleAttribute(String, String, String, String[], String[], UInt32) | Creates a rule based UI context entry that is activated when the expression is evaluated to true. |
| Name | Description | |
|---|---|---|
![]() | ContextGuid | Gets the GUID of the UI context to be created. |
![]() | Delay | Gets the delay, in milliseconds, before activating the UI context. |
![]() | Expression | Gets the expression to be evaluated for determining state of the UI context. |
![]() | Name | Gets the diagnostics name for the UI context created. |
![]() | TermNames | Gets the term names used in the expression. |
![]() | TermValues | Gets the values of terms used in the expression |
![]() | TypeId | Gets the current instance of this attribute.(Inherited from RegistrationAttribute.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Attribute.) |
![]() | GetHashCode() | (Inherited from Attribute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from Attribute.) |
![]() | Match(Object) | (Inherited from Attribute.) |
![]() | 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.(Overrides RegistrationAttribute.Register(RegistrationAttribute.RegistrationContext).) |
![]() | ToString() | (Inherited from Object.) |
![]() | Unregister(RegistrationAttribute.RegistrationContext) | Unregisters the attribute.(Overrides RegistrationAttribute.Unregister(RegistrationAttribute.RegistrationContext).) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



