Argument Access
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Argument Access 

The va_arg, va_end, and va_start macros provide access to function arguments when the number of arguments is variable. These macros are defined in STDARG.H for ANSI C compatibility and in VARARGS.H for compatibility with UNIX System V.

Argument-Access Macros
Macro Use .NET Framework equivalent


Retrieve argument from list

System::ParamArrayAttribute Class


Reset pointer

System::ParamArrayAttribute Class


Set pointer to beginning of argument list

System::ParamArrayAttribute Class

© 2015 Microsoft