Kompilatorfel C3455

"attribut": ingen av attributkonstruktorerna matchade argumenten

Anmärkningar

Ett ogiltigt värde användes för att deklarera ett attribut. Mer information finns i attributet .

Example

I följande exempel genereras C3455.

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

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