Sdílet prostřednictvím


Chyba kompilátoru C3455

'attribute': žádný z konstruktorů atributů neodpovídá argumentům.

Poznámky

K deklaraci atributu byla použita neplatná hodnota. Další informace najdete v atributu .

Příklad

Následující příklad vygeneruje C3455.

// C3455.cpp
// compile with: /clr /c
using namespace System;

[attribute("MyAt")]   // C3455
// try the following line instead
// [attribute(All)]
ref struct MyAttr {
   MyAttr() {}
};