我得到一个Unhandled exception运行Windows应用程序认证工具包,然后点击"后错误点击此处查看完整报告 "链接.这是我的应用程序的问题还是Windows应用程序认证工具包崩溃了?
错误是Class Not Registered以下是详细信息:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): Class not registered
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Run Code Online (Sandbox Code Playgroud) 该simple_html_dom库非常适合获取已知属性,但是有没有办法获取元素的所有属性列表?
例如,如果我有:
<div id="test" custom1="custom" custom2="custom">
Run Code Online (Sandbox Code Playgroud)
我很容易得到id:
$el = $html->find('div');
$id = $el->id;
Run Code Online (Sandbox Code Playgroud)
但是,它是否有可能获得custom1,custom2如果他们提前不知道?理想情况下,该解决方案将产生的阵列NVP的所有属性(id,custom1,custom2).