次の方法で共有


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.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'宣言
Public Property FoundMatchingBrace As Boolean
    Get
    Set
'使用
Dim instance As AuthoringSink
Dim value As Boolean

value = instance.FoundMatchingBrace

instance.FoundMatchingBrace = value
public bool FoundMatchingBrace { get; set; }
public:
property bool FoundMatchingBrace {
    bool get ();
    void set (bool value);
}
member FoundMatchingBrace : bool with get, set
function get FoundMatchingBrace () : boolean
function set FoundMatchingBrace (value : boolean)

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

AuthoringSink Members

Microsoft.VisualStudio.Package Namespace