共用方式為


ProvideExtensibleUIContextRuleAttribute(String, String, UInt32) Constructor

Definition

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.

 ProvideExtensibleUIContextRuleAttribute(std::wstring const & contextGuid, std::wstring const & name, unsigned int delay = 0);
public ProvideExtensibleUIContextRuleAttribute (string contextGuid, string name, uint delay = 0);
new Microsoft.VisualStudio.Shell.ProvideExtensibleUIContextRuleAttribute : string * string * uint32 -> Microsoft.VisualStudio.Shell.ProvideExtensibleUIContextRuleAttribute
Public Sub New (contextGuid As String, name As String, Optional delay As UInteger = 0)

Parameters

contextGuid
String

The GUID of the context.

name
String

The name of the rule.

delay
UInt32

Applies to