Partager via


BracePairAttribute Constructor

Instantiates a new instance of a BracePairAttribute.

Namespace:  Microsoft.VisualStudio.Text.BraceCompletion
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
Public Sub New ( _
    openingBrace As Char, _
    closingBrace As Char _
)
public BracePairAttribute(
    char openingBrace,
    char closingBrace
)
public:
BracePairAttribute(
    wchar_t openingBrace, 
    wchar_t closingBrace
)
new : 
        openingBrace:char * 
        closingBrace:char -> BracePairAttribute
public function BracePairAttribute(
    openingBrace : char, 
    closingBrace : char
)

Parameters

  • openingBrace
    Type: Char

    The opening brace character for this brace completion session.

  • closingBrace
    Type: Char

    The closing brace character for this brace completion session.

.NET Framework Security

See Also

Reference

BracePairAttribute Class

Microsoft.VisualStudio.Text.BraceCompletion Namespace