BracePairAttribute Class

Definition

Specifies the opening and closing braces.

public ref class BracePairAttribute sealed : Microsoft::VisualStudio::Utilities::MultipleBaseMetadataAttribute
public ref class BracePairAttribute sealed : Microsoft::VisualStudio::Utilities::MultipleBaseMetadataAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
[System.ComponentModel.Composition.MetadataAttribute]
public sealed class BracePairAttribute : Microsoft.VisualStudio.Utilities.MultipleBaseMetadataAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type BracePairAttribute = class
    inherit MultipleBaseMetadataAttribute
Public NotInheritable Class BracePairAttribute
Inherits 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