共用方式為


BracePairAttribute 建構函式

Instantiates a new instance of a BracePairAttribute.

命名空間:  Microsoft.VisualStudio.Text.BraceCompletion
組件:  Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)

語法

'宣告
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
)

參數

  • openingBrace
    類型:Char

    The opening brace character for this brace completion session.

  • closingBrace
    類型:Char

    The closing brace character for this brace completion session.

.NET Framework 安全性

請參閱

參考

BracePairAttribute 類別

Microsoft.VisualStudio.Text.BraceCompletion 命名空間