AuthoringSink::FoundMatchingBrace Property

 

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

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

public:
property bool FoundMatchingBrace {
	bool get();
	void set(bool value);
}

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.

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.

Return to top
Show: