470,849 Members | 1,440 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

Xml Serialization/Generics

Iam having a class like

public class GenericCol<T>:List<T>
{
private ArrayList innerList = new ArrayList();
public GenericCol() {}

public ArrayList InnerList
{
get { return innerList; }
set { innerList = value; }
}

new public bool Remove(T item)
{
if(base.Remove(item))
{
innerList.Add(item);
return true;
}
return false;
}
}

When i serialize this class, the InnerList property never get
serialized.., Iam expecting a node like <InnerList></InnerList>

am I missing something, is it not possible ?

any help would be greatly appreciated.

regards
Apr 12 '06 #1
0 1056

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by radoslaw tereszczuk | last post: by
27 posts views Thread by Bernardo Heynemann | last post: by
1 post views Thread by Dennis C. Drumm | last post: by
23 posts views Thread by Luc Vaillant | last post: by
1 post views Thread by Vladimir Shiryaev | last post: by
3 posts views Thread by Wiebe Tijsma | last post: by
13 posts views Thread by rkausch | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.