B
Bjørn Brox
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Hi!
Using .Net CF3.
I am receiving some class objects from a web service, and would like to
store this in my own class object with some additional values where the
base values is received as a parameter in the constructor.
My idea is something like the code example below, which gives the error
"Use of keyword 'base' is not valid in this context".
Any idea on how to solve this without having to copy each element or by
having my own "base" variable?
public class MyPassengerRC : PassengerRC
{
public bool is_arrived;
public MyPassengerRC(PassengerRC p)
{
base = p;
}
}
Content-Transfer-Encoding: 8bit
Hi!
Using .Net CF3.
I am receiving some class objects from a web service, and would like to
store this in my own class object with some additional values where the
base values is received as a parameter in the constructor.
My idea is something like the code example below, which gives the error
"Use of keyword 'base' is not valid in this context".
Any idea on how to solve this without having to copy each element or by
having my own "base" variable?
public class MyPassengerRC : PassengerRC
{
public bool is_arrived;
public MyPassengerRC(PassengerRC p)
{
base = p;
}
}