TokenInfo::Trigger Property

 

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

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
property TokenTriggers Trigger {
	TokenTriggers get();
	void set(TokenTriggers value);
}

Property Value

Type: Microsoft.VisualStudio.Package::TokenTriggers

Returns a combination of flags from the TokenTriggers enumeration.

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

Return to top
Show: