Click here to Skip to main content
15,889,216 members
Home / Discussions / C#
   

C#

 
GeneralRe: Work with Processes! Pin
ventomito27-Oct-05 3:16
ventomito27-Oct-05 3:16 
GeneralRe: Work with Processes! Pin
Tom Larsen26-Oct-05 8:28
Tom Larsen26-Oct-05 8:28 
GeneralRe: Work with Processes! Pin
ventomito27-Oct-05 3:23
ventomito27-Oct-05 3:23 
GeneralRe: Work with Processes! Pin
Dan Neely27-Oct-05 3:51
Dan Neely27-Oct-05 3:51 
GeneralRe: Work with Processes! Pin
Dan Neely26-Oct-05 8:36
Dan Neely26-Oct-05 8:36 
QuestionXmlSerializer and custom collections with properties Pin
mav.northwind26-Oct-05 4:57
mav.northwind26-Oct-05 4:57 
AnswerRe: XmlSerializer and custom collections with properties Pin
Tom Larsen26-Oct-05 5:10
Tom Larsen26-Oct-05 5:10 
AnswerRe: XmlSerializer and custom collections with properties Pin
mav.northwind26-Oct-05 6:05
mav.northwind26-Oct-05 6:05 
Thanks for the reply.
Unfortunately, I didn't find anything on the topic that XmlSerializer doesn't serialize additional properties for ICollectionBase-derived classes.
While searching for a solution, I found a workaround somewhere else, though: By putting the additional properties in a separate class and having the collection as another property I could get the XmlSerializer to serialize the new class with the collection and an additional name.
[Serializable]
public clss MySettings
{
  public MySettings() {}
 
  private string _name;
  public string Name
  {
    get { return _name; }
    set { _name = value; }
  }

  private MyCollection _items = new MyCollection();
  public MyCollection Items
  {
    get { return _items; }
  }
}
Regards,
mav
AnswerRe: XmlSerializer and custom collections with properties Pin
leppie26-Oct-05 7:58
leppie26-Oct-05 7:58 
QuestionForms/Controls Orientation Pin
thanhvan26-Oct-05 4:56
thanhvan26-Oct-05 4:56 
QuestionCall a method from the auto generated InitializeComponent() method in Visual Studio Pin
monteiz26-Oct-05 4:50
monteiz26-Oct-05 4:50 
QuestionArraylist Pin
PaulaM26-Oct-05 3:58
PaulaM26-Oct-05 3:58 
AnswerRe: Arraylist Pin
Rob Philpott26-Oct-05 4:38
Rob Philpott26-Oct-05 4:38 
QuestionHow can I get the Windows temporal directory variable??? Pin
User 197776926-Oct-05 3:17
User 197776926-Oct-05 3:17 
AnswerRe: How can I get the Windows temporal directory variable??? Pin
leppie26-Oct-05 4:08
leppie26-Oct-05 4:08 
GeneralRe: How can I get the Windows temporal directory variable??? Pin
User 197776927-Oct-05 7:15
User 197776927-Oct-05 7:15 
QuestionHow to merge two cells vertically in a Windows forms data grid? Pin
26-Oct-05 2:08
suss26-Oct-05 2:08 
QuestionHow to implement a VC++ toolbar like control in C#? Pin
TinyTin26-Oct-05 2:01
TinyTin26-Oct-05 2:01 
AnswerRe: How to implement a VC++ toolbar like control in C#? Pin
Suelinda_W31-Oct-05 3:11
Suelinda_W31-Oct-05 3:11 
QuestionDLL or Component for RFID KITS Pin
Tyler4526-Oct-05 1:57
Tyler4526-Oct-05 1:57 
AnswerRe: DLL or Component for RFID KITS Pin
Dave Kreskowiak26-Oct-05 3:27
mveDave Kreskowiak26-Oct-05 3:27 
GeneralRe: DLL or Component for RFID KITS Pin
Tyler4510-Nov-05 13:46
Tyler4510-Nov-05 13:46 
QuestionThrad problem Pin
hg270526-Oct-05 1:04
hg270526-Oct-05 1:04 
AnswerRe: Thrad problem Pin
S. Senthil Kumar26-Oct-05 5:27
S. Senthil Kumar26-Oct-05 5:27 
GeneralRe: Thrad problem Pin
hg270527-Oct-05 20:13
hg270527-Oct-05 20:13 

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.