Eine Deep Copy machen:

http://www.awprofessional.com/articles/article.asp?p=25322&seqNum=13

http://www.devx.com/vb2themax/Tip/18708

http://www.microsoft.com/mspress/books/sampchap/5353.asp (Grundlagen)

Chris

At 01:05 PM 12/2/2004, you wrote:
dann formuliere ich um: wie kann ich denn eine komplizierte
Kopie erzeugen? :-)

Gru�, Thomas

http://blogs.dotnetgerman.com/thomas/

> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im Auftrag von Christoph Wille
> Gesendet: Donnerstag, 2. Dezember 2004 13:03
> An: [EMAIL PROTECTED]
> Betreff: Re: [CSharp.net] Verweis oder was
>
> Du bekommst immer nur eine Referenz in die Hand; eine "Deep
> Copy" mu�t Du
> zu Fu� implementieren.
>
> Chris
>
> At 12:56 PM 12/2/2004, you wrote:
> >ich habe in meiner ASP.NET-Anwendungen eine ControlCollection
> >im Cache liegen.
> >
> >Rufe ich diese nun via:
> >
> >ControlCollection CachedItems =
> >(ControlCollection)Cache[Utilities.cacheKey("MainContent")];
> >
> >ab, wird scheinbar nur ein Verweis auf das Original-Objekt
> >erzeugt. Denn
> >
> >CachedItems.Clear();
> >
> >l�scht mir dauerhaft alle Controls aus der Collection. Wie kann
> >ich denn eine einfache Kopie erzeugen?
>
>
> _______________________________________________
> CSharp.net Mailingliste, Postings senden an:
> [EMAIL PROTECTED]
> An-/Abmeldung und Suchfunktion unter:
> http://www.glengamoi.com/mailman/listinfo/csharp.net
>
>


_______________________________________________ CSharp.net Mailingliste, Postings senden an: [EMAIL PROTECTED] An-/Abmeldung und Suchfunktion unter: http://www.glengamoi.com/mailman/listinfo/csharp.net

// Christoph "Brains" Wille // MCSE, MCSD, MCP-IT, CNA // // E-Mail: [EMAIL PROTECTED]


_______________________________________________ CSharp.net Mailingliste, Postings senden an: [EMAIL PROTECTED] An-/Abmeldung und Suchfunktion unter: http://www.glengamoi.com/mailman/listinfo/csharp.net

Antwort per Email an