編譯器錯誤 C3133
屬性不可套用至 C++ varargs
已不正確地套用屬性。 屬性無法套用至代表變數自變數的省略號。
如需詳細資訊,請參閱 User-Defined Attributes。
範例
下列範例會產生 C3133。
// C3133.cpp
// compile with: /clr /c
ref struct MyAttr: System::Attribute {};
void Func([MyAttr]...); // C3133
void Func2([MyAttr] int i); // OK