ProvideUIContextRuleAttribute Class

Visual Studio 2015
 

Registers an UI context rule.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.RegistrationAttribute
      Microsoft.VisualStudio.Shell.ProvideUIContextRuleAttribute

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, 
	Inherited = true)]
public sealed class ProvideUIContextRuleAttribute : RegistrationAttribute

NameDescription
System_CAPS_pubmethodProvideUIContextRuleAttribute(String, String, String, String[], String[], UInt32)

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

NameDescription
System_CAPS_pubpropertyContextGuid

Gets the GUID of the UI context to be created.

System_CAPS_pubpropertyDelay

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

System_CAPS_pubpropertyExpression

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

System_CAPS_pubpropertyName

Gets the diagnostics name for the UI context created.

System_CAPS_pubpropertyTermNames

Gets the term names used in the expression.

System_CAPS_pubpropertyTermValues

Gets the values of terms used in the expression

System_CAPS_pubpropertyTypeId

Gets the current instance of this attribute.(Inherited from RegistrationAttribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodRegister(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).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUnregister(RegistrationAttribute.RegistrationContext)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: