Compartilhar via


AuthoringSink.FoundMatchingBrace Property

Tracks if a matching pair of braces was added to the internal list.

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

'Declaração
Public Property FoundMatchingBrace As Boolean
public bool FoundMatchingBrace { get; set; }

Property Value

Type: System.Boolean
Returns true if at least one pair of matching braces was added to the internal list; otherwise, returns false, if no matching braces have been added.

Remarks

This property should be initialized to false before starting a parse operation for matching braces. If at the end of the parse operation this property returns true, then at least one pair of matching braces was found and added to the list through a call to the MatchPair method.

.NET Framework Security

See Also

Reference

AuthoringSink Class

Microsoft.VisualStudio.Package Namespace