How to Serialize a class


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I'm trying to wrap my head around this serialization thing. I have built (the start of) a replacement (er...ok maybe replacement is a bit strong...) for the BrowseDialog (because it doesn't allow code driven filters, to enable row level security). I'd like to save search configurations, which would just be an instance of a class, which means I need to serialize the class. I have read about this, but I'm not getting it yet. How do you enable serialization of a class? A brief example might help.



Thanks!
Reply
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Have fun with it Smile  There used to be some stuff you couldn't do with serialization in VB.NET that you had to use C# to accomplish (like not serializing events), but with VB.NET 2005, all of those problems have been alleviated, so you should be able to do what you're wanting to do.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search