Partager via


AuthoringSink.BraceMatching Property

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

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

Syntax

Public ReadOnly Property BraceMatching As Boolean

Dim instance As AuthoringSink
Dim value As Boolean

value = instance.BraceMatching
public bool BraceMatching { get; }
public:
property bool BraceMatching {
    bool get ();
}
public function get BraceMatching () : boolean

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.

Permissions

See Also

Reference

AuthoringSink Class

AuthoringSink Members

Microsoft.VisualStudio.Package Namespace