Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

HtmlElement.ToString() behavier diff in 32x and 64x

$
0
0

i use very simple code below:

object dom = element.DomElement;  // element is HtmlElement Object
Debug.WriteLine(dom.ToString());

the output in 32x platform target:

"mshtml.HTMLHeaderElementClass" or something other with "mshtml." prefix

the output in 64x:

always is "System.__ComObject".

i confuse about it. how can i get the string value like "mshtml.***" in any platform target?

my environment is:

vs2012, net 4.5 project

thanks


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>