TokenInfo.Trigger Property
Determines the various triggers that can be set for the token.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Syntax
'Declaration
Public Property Trigger As TokenTriggers
public TokenTriggers Trigger { get; set; }
public:
property TokenTriggers Trigger {
TokenTriggers get ();
void set (TokenTriggers value);
}
member Trigger : TokenTriggers with get, set
function get Trigger () : TokenTriggers
function set Trigger (value : TokenTriggers)
Property Value
Type: Microsoft.VisualStudio.Package.TokenTriggers
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).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.