Preethi S

Preethi S

  • NA
  • 9
  • 33.6k

typecast string to xmlElement in wpf

Sep 10 2012 12:21 AM
How to typecast string to XmlElement in wpf.. Thanks in advance

Answers (1)

0
Vulpes

Vulpes

  • 0
  • 96k
  • 2.5m
Sep 10 2012 4:39 AM
You can't typecast a string to an XmlElement as there is no implicit or explicit conversion defined between them.

What you can do is to set the XmlElement's Value property to any string you like.