GoogleCodeArchive / open-webkit-sharp

Automatically exported from code.google.com/p/open-webkit-sharp
GNU Lesser General Public License v3.0
1 stars 0 forks source link

Webkit.Interop.IDOMNodeList is not a collection type ? huh? #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

DIM interopnodelist AS Webkit.Interop.IDOMNodeList
For Each element As WebKit.Interop.IDOMNode In interopnodelist 
'' already an error here that says:
'' Expression is of type 'WebKit.Interop.IDOMNodeList', which is not a 
collection type.

What is the expected output? What do you see instead?
It should be a collection type, right?

What version of the product are you using? On what operating system?
VisualBasic.NET 2008 on windows vista

Please provide any additional information below.
I think it is already clear

Looking forward for the fixed version

Original issue reported on code.google.com by dothebe...@gmail.com on 14 Mar 2012 at 10:58

GoogleCodeExporter commented 9 years ago
You cannot use an Interface as a Class. You must use Dim interopnodelist as 
WebKit.DOM.NodeList = <find an already-assigned value of this object e.g. 
Document.GetElementsByTagName>

Original comment by tsumalis96@gmail.com on 17 Mar 2012 at 12:13

GoogleCodeExporter commented 9 years ago

Original comment by tsumalis96@gmail.com on 5 Jul 2012 at 10:43