TokenInfo.Trigger Property
Determines the various triggers that can be set for the token.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Public Property Trigger As TokenTriggers
'Usage
Dim instance As TokenInfo
Dim value As TokenTriggers
value = instance.Trigger
instance.Trigger = value
public TokenTriggers Trigger { get; set; }
public:
property TokenTriggers Trigger {
TokenTriggers get ();
void set (TokenTriggers value);
}
public function get Trigger () : TokenTriggers
public 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.