TokenInfo.Trigger Property

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

‘선언
Public Property Trigger As TokenTriggers
    Get
    Set
‘사용 방법
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);
}
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

See Also

Reference

TokenInfo Class

TokenInfo Members

Microsoft.VisualStudio.Package Namespace