Display: Cloud | List
Most Popular Tags
Results (3 total) All > nonserialized (x)
NonSerialized in VB (Walkthrough: Persisting an Object in Visual Basic)
Hi!In the example you show above for VB, the application of the NonSerialized attribute is not possible, because VB only lets you apply this attribute to a field. However if you would like to implement a NonSerialized event you can still do it by declaring a custom event as can be seen in my blog article on http://mokom.com.au/kyryll/?p=122#more-122.Happy coding,Kyryllkyryll.com
Last modified by Kyryll on 6/24/2010 12:32:17 AM
Tags:  event  nonserialized  vb
NonSerilized in VB (Walkthrough: Persisting an Object (C# and Visual Basic))
Hi!In the example you show above for VB, the application of the NonSerialized attribute is not possible, because VB only lets you apply this attribute to a field. However if you would like to implement a NonSerialized event you can still do it by declaring a custom event as can be seen in my blog article on http://mokom.com.au/kyryll/?p=122#more-122.Happy coding,Kyryllkyryll.com
Last modified by Kyryll on 6/24/2010 12:30:58 AM
Tags:  nonserialized  vb
About [field:NonSerialized] (NonSerializedAttribute Class (System))
In the above comment Greg D touches on the subject of serializing of the object that exposes an event ommiting the serialization of the event subscribers. While he does provide a solution for doing this in C# (even though he thinks its "hackish" :)) there is also a solution for VB available in my blog at http://mokom.com.au/kyryll/?p=122#more-122.Happy coding,Kyryll
Last modified by Kyryll on 6/24/2010 12:17:42 AM
Tags:  nonserialized  vb
Page view tracker