Search Result

Collapse
2 results in 0.0028 seconds.
Keywords
Members
Tags
xml serialization
  •  

  • !NoItAll
    started a topic Basic XML Serialization in VB.NET

    Basic XML Serialization in VB.NET

    Reading XML in VB.NET is pretty straightforward . Create an XML Document Object, then you can load the XML and iterate through all of the nodes as required. You can search for nodes, use x-path, whatever you like.
    Creating XML, on the other hand, is not so straight forward. There are essentially two methods.
    • Create an XML Document Object and set each of the Element and/or attribute nodes to the values you want
    • Create the structure
    ...
    See more | Go to post

  • CA1000: Why shouldn't I declare static members on generic types?

    I've written an abstract base type which uses generics to provide XML serialization and deserialization methods for use by its derived types, but I'm seemingly unable to write it in a way which completely satisfies FxCop code analysis. Here is the simplest form of the base class which reproduces the problem:

    Code:
    public abstract class XmlSerializableItem<T>
    {
    	public string ToXml()
    	{
    		XmlSerializer
    ...
    See more | Go to post
Working...