你 CustomPropertyCollection 里面,必须重写实现 GetAttributes 方法。也就是你在类里面必须写 function GetAttributes 这样的代码
你赋值粘贴代码的时候,要把全部拷贝进去。