次の方法で共有


AuthoringSink.BraceMatching Property

Indicates if brace matching should be done for a parse operation.

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

Syntax

'宣言
Public ReadOnly Property BraceMatching As Boolean
public bool BraceMatching { get; }

Property Value

Type: System.Boolean
Returns true if brace matching is to be done; otherwise, returns false (no brace matching allowed).

Remarks

This property is queried by the parser to determine if it should deal with brace matching in this particular execution and if so, store matching braces with a call to MatchPair. This property examines the ParseReason and returns true if it is MatchBraces, HighlightBraces, or MemberSelectAndHighlightBraces.

.NET Framework Security

See Also

Reference

AuthoringSink Class

Microsoft.VisualStudio.Package Namespace