P
Pawel
Howto: Programmatically serialization Entry Method Parameters ( their
values ) ?
See example below:
public static void C(string Code, string Name) {
// i will dynamic (programmatically) serialization method entry parameters -
( their values )
StackTrace t = new StackTrace(true);
StackFrame ff = t.GetFrame(0);
foreach (ParameterInfo pi in ff.GetMethod().GetParameters())
{
Stream stream = File.Create("C:\\a.xml");
SoapFormatter soap = new SoapFormatter();
// soap.Serialize(stream, values of entry parameters );
stream.Close();
}
return;
}
Regards,
P.
values ) ?
See example below:
public static void C(string Code, string Name) {
// i will dynamic (programmatically) serialization method entry parameters -
( their values )
StackTrace t = new StackTrace(true);
StackFrame ff = t.GetFrame(0);
foreach (ParameterInfo pi in ff.GetMethod().GetParameters())
{
Stream stream = File.Create("C:\\a.xml");
SoapFormatter soap = new SoapFormatter();
// soap.Serialize(stream, values of entry parameters );
stream.Close();
}
return;
}
Regards,
P.