XmlConvert.DecodeName : XmlConvert « XML « VB.Net






XmlConvert.DecodeName

 

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.
2.XmlConvert.ToDateTimeOffset
3.XmlConvert.ToString converts the DateTime to a String.
4.XmlConvert.VerifyWhitespace
5.Encode and decode a local name
6.Returns valid XML characters