Click here to Skip to main content
15,888,461 members
Home / Discussions / C#
   

C#

 
GeneralRe: Calling Java from C# Pin
Heath Stewart30-Jun-04 18:30
protectorHeath Stewart30-Jun-04 18:30 
Questionjavadoc-style document generator for .NET? Pin
drizzay30-Jun-04 8:43
drizzay30-Jun-04 8:43 
AnswerRe: javadoc-style document generator for .NET? Pin
Heath Stewart30-Jun-04 8:50
protectorHeath Stewart30-Jun-04 8:50 
GeneralRe: javadoc-style document generator for .NET? Pin
steven shingler30-Jun-04 12:30
steven shingler30-Jun-04 12:30 
Generalerror could not access cdo.message Pin
VIJAYPAPUPAGER30-Jun-04 8:28
VIJAYPAPUPAGER30-Jun-04 8:28 
GeneralRe: error could not access cdo.message Pin
Nick Parker30-Jun-04 8:36
protectorNick Parker30-Jun-04 8:36 
Generalmultiple splitting Pin
blankg30-Jun-04 8:21
blankg30-Jun-04 8:21 
GeneralSerializing and ArrayList Pin
Anonymous30-Jun-04 7:43
Anonymous30-Jun-04 7:43 
Hello,
i've tried to serialize a Class with member of type ArrayList but it doesn't work. The Xml Document is empty. What's wrong?
Code:
class ImageCollection
{
[XmlElement(Type = typeof(Image)),
XmlElement(Type = typeof(Image))]
private ArrayList images = new ArrayList();
ImageCollection()
{
}
public void addItem(Image image)
{
this.images.Add(image);
}
}

ImageCollection img = new ImageCollection();
img.addItem(new Image());
XmlSerializer serializer =new XmlSerializer(typeof(ImageCollection));
XmlTextWriter writer =new XmlTextWriter("Images.xml", System.Text.Encoding.UTF8);
serializer.Serialize(writer,img);
writer.Close();


Thanks and greets from Austria

GeneralRe: Serializing and ArrayList Pin
Heath Stewart30-Jun-04 8:52
protectorHeath Stewart30-Jun-04 8:52 
GeneralExplorer DragImage Part III Pin
TylerBrinks30-Jun-04 6:36
TylerBrinks30-Jun-04 6:36 
GeneralRe: Explorer DragImage Part III Pin
TylerBrinks30-Jun-04 8:26
TylerBrinks30-Jun-04 8:26 
QuestionControl handles via drag event ? Pin
Guinness4Strength30-Jun-04 6:22
Guinness4Strength30-Jun-04 6:22 
AnswerRe: Control handles via drag event ? Pin
Nick Parker30-Jun-04 6:39
protectorNick Parker30-Jun-04 6:39 
GeneralRe: Control handles via drag event ? Pin
Guinness4Strength30-Jun-04 7:02
Guinness4Strength30-Jun-04 7:02 
GeneralRe: Control handles via drag event ? Pin
Nick Parker30-Jun-04 8:03
protectorNick Parker30-Jun-04 8:03 
AnswerRe: Control handles via drag event ? Pin
StealthyMark4-Jul-04 7:30
StealthyMark4-Jul-04 7:30 
GeneralQuestion on simple binding Pin
Brett Slaski30-Jun-04 4:26
Brett Slaski30-Jun-04 4:26 
GeneralRe: Question on simple binding Pin
Heath Stewart30-Jun-04 8:46
protectorHeath Stewart30-Jun-04 8:46 
GeneralRe: Question on simple binding Pin
Brett Slaski30-Jun-04 9:24
Brett Slaski30-Jun-04 9:24 
GeneralRe: Question on simple binding Pin
Heath Stewart30-Jun-04 18:08
protectorHeath Stewart30-Jun-04 18:08 
GeneralRe: Question on simple binding Pin
Brett Slaski1-Jul-04 2:44
Brett Slaski1-Jul-04 2:44 
GeneralRe: Question on simple binding Pin
Heath Stewart1-Jul-04 4:36
protectorHeath Stewart1-Jul-04 4:36 
GeneralRe: Question on simple binding Pin
Brett Slaski1-Jul-04 5:54
Brett Slaski1-Jul-04 5:54 
GeneralRe: Question on simple binding Pin
Heath Stewart1-Jul-04 17:48
protectorHeath Stewart1-Jul-04 17:48 
GeneralRe: Question on simple binding Pin
Brett Slaski2-Jul-04 3:08
Brett Slaski2-Jul-04 3:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.