共用方式為


TokenInfo.Trigger Property

Definition

Determines the various triggers that can be set for the token.

public:
 property Microsoft::VisualStudio::Package::TokenTriggers Trigger { Microsoft::VisualStudio::Package::TokenTriggers get(); void set(Microsoft::VisualStudio::Package::TokenTriggers value); };
public:
 property Microsoft::VisualStudio::Package::TokenTriggers Trigger { Microsoft::VisualStudio::Package::TokenTriggers get(); void set(Microsoft::VisualStudio::Package::TokenTriggers value); };
public Microsoft.VisualStudio.Package.TokenTriggers Trigger { get; set; }
member this.Trigger : Microsoft.VisualStudio.Package.TokenTriggers with get, set
Public Property Trigger As TokenTriggers

Property Value

Returns a combination of flags from the TokenTriggers enumeration.

Remarks

A token trigger is used to signal a particular language feature in support of IntelliSense. For example, MatchBraces can be returned when a closing brace is parsed. This initiates or triggers the matching brace feature. Note that triggers can be returned all the time; however, they are used only when a particular parsing operation has been done (see the ParseReason enumeration for the different parsing operations supported).

Applies to