> XmlTextWriter xw =  new XmlTextWriter("tooldescriptor.xml", null);
                                    ^^^^

HTH,

Christoph Schittko
Software Architect
MSHOW.com - Web Conferencing and Interactive Broadcasting
----- Original Message -----
From: "Sam Gentile" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 25, 2002 12:15 PM
Subject: Re: [DOTNET] Some Basic XML "Serialization" Questions


> I keep getting:  'System.Xml.XmlTextWriter' denotes a 'class' which is not
> valid in the given context
>
> XmlTextWriter xw = XmlTextWriter("tooldescriptor.xml", null);
>    System.Xml.Serialization.XmlSerializer xs = new
> XmlSerializer( typeof(ToolDescriptor) );
>    xs.Serialize(xw, td);
>
> Why not?
>
> You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to