Re: Serialization of an object containing an ArrayList

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Bry" <bryanhobson@xxxxxxxxx> wrote in news:1119478468.118469.216790
@g43g2000cwa.googlegroups.com:

> As I don't require all of the properties stored in each
> ServiceController instance (I only need to preserve Name and State), I
> supose I should create a class of my own, containing only the required
> information.

Sounds like you are on the right track... to extend it though, I would say
you should only preserve the Name (not state). The state should be queried
at the time that you need it, since between sessions of your application,
the state may have changed.

--
-mdb
.



Relevant Pages

  • Re: Serialization of an object containing an ArrayList
    ... I'm attempting to preserve this data between sessions of my application ... The data is saved as the application quits, ... supose I should create a class of my own, ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Apple now worth more than Dell
    ... >>> is a shame though i supose it means when you go home your free from work ... Prev by Date: ...
    (uk.comp.sys.mac)
  • Managing webcam from VB (II)
    ... I supose that it may be possible through the AviCap DLL but I ... Diego Curtino ... Prev by Date: ...
    (microsoft.public.vb.winapi.graphics)
  • Re: Need a professional opinion. Possible job offer.
    ... I supose we ... should complain to Tripod and see if they will take it down. ... Prev by Date: ...
    (rec.photo.digital)
  • Re: Counting segments
    ... Now supose we join those points by pairs so ... From every point emanates m segments. ... > Erland Gadde ... Prev by Date: ...
    (sci.math)