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.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Dichiarazione
Public ReadOnly Property BraceMatching As Boolean
Get
'Utilizzo
Dim instance As AuthoringSink
Dim value As Boolean
value = instance.BraceMatching
public bool BraceMatching { get; }
public:
property bool BraceMatching {
bool get ();
}
member BraceMatching : bool
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.
.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.