Usage of ParamArrayAttribute

  • Thread starter Thread starter MuZZy
  • Start date Start date
M

MuZZy

Hi,

Can anybod throw an example of how "ParamArrayAttribute" can be used?
I need to create a function with variable number of parameters on
C++.NET, but i don't want to use 'va_arg' macro, as it doesn't seem to
fit into .NET style.

Thank you,
Andrey
 
MuZZy said:
Can anybod throw an example of how "ParamArrayAttribute" can be used?
I need to create a function with variable number of parameters on C++.NET,
but i don't want to use 'va_arg' macro, as it doesn't seem to fit into
.NET style.

It would be better to address C++ questions to the C++ group:

microsoft.public.dotnet.languages.vc.

-- Alan
 
MuZZy said:
Can anybod throw an example of how "ParamArrayAttribute" can be used?
I need to create a function with variable number of parameters on C++.NET,
but i don't want to use 'va_arg' macro, as it doesn't seem to fit into
.NET style.

Actually a quick Google in the VC newsgroup found this. Again, best to head
over there for C++ questions.

http://tinyurl.com/9vcos

-- Alan
 
Back
Top