XmlConvert.DecodeName : XmlConvert « XML « VB.Net



Imports System
Imports System.IO
Imports System.Xml

Public Class Sample

  Public Shared Sub Main()
     Dim name1 as string = XmlConvert.EncodeName("Order Detail")
     Console.WriteLine("Encoded name: " + name1)
     Console.WriteLine("Decoded name: " + XmlConvert.DecodeName(name1))

  End sub
End class


Related examples in the same category

1.XmlConvert.ToDateTime converts the String to a DateTime equivalent.
3.XmlConvert.ToString converts the DateTime to a String.
5.Encode and decode a local name
6.Returns valid XML characters