BracePairAttribute Class

Definition

Specifies the opening and closing braces.

C++/CX
public ref class BracePairAttribute sealed : Microsoft::VisualStudio::Utilities::MultipleBaseMetadataAttribute
Inheritance
Attributes

Remarks

This attribute may be exported on an IBraceCompletionSessionProvider, IBraceCompletionContextProvider, or IBraceCompletionDefaultProvider.

Constructors

BracePairAttribute(Char, Char)

Instantiates a new instance of a BracePairAttribute.

Properties

ClosingBraces

The closing brace character.

OpeningBraces

The opening brace character.

SupportsAutoSurround

Specifies if the brace pair supports auto surround. Set to true by default

SupportsBraceCompletion

Specifies if the brace pair supports completion. Set to true by default

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022