Compiler Error C3269

'function' : a member-function of a managed or WinRTtype cannot be declared with '...'

Managed and WinRT class member functions cannot declare variable-length parameter lists.

The following sample generates C3269 and shows how to fix it:

// C3269_2.cpp
// compile with: /clr

ref struct A
{
   void func(int i, ...)   // C3269
   // try the following line instead
   // void func(int i )
   {
   }
};

int main()
{
}