参数不合法。Illegal parameter. 无法编写数组(错误 328)Can't write arrays (Error 328)

将非法参数传递给了此方法。An illegal parameter was passed to the method. 此错误的原因和解决方案如下:This error has the following cause and solution:

  • 在您的用户控件的WriteProperties事件,您尝试执行一个PropBag.WriteProperty X,其中 X 是一个数组In the WriteProperties event of your User Control, you tried to do a PropBag.WriteProperty X, where X is an array. 此操作不受支持。This isn't supported.

    必须分别写出数组的每个元素。You must write out each element of the array individually.

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.