比较麻烦,你要用循环,或者递归,最后得出值
Functions.remove("函数")
Dim Code As String
Code = "return gettype(PrintDoc)"
Functions.Add("函数",Code)
Functions.Complie()
Dim o = Functions.Execute("函数")
Dim p = o.GetProperty("PageFooter")
Functions.remove("函数")
Code = "return gettype(" & p.PropertyType.tostring & ")"
Functions.Add("函数",Code)
Functions.Complie()
o = Functions.Execute("函数")
p = o.GetProperty("BreakAfter")
Functions.remove("函数")
Code = "return gettype(" & p.PropertyType.tostring & ")"
Functions.Add("函数",Code)
Functions.Complie()
o = Functions.Execute("函数")
msgbox(o.tostring)
Functions.remove("函数")
Code = "return gettype(" & o.tostring & ")"
Functions.Add("函数",Code)
Functions.Complie()
o = Functions.Execute("函数")
For Each c As object In [Enum].GetValues(o)
output.Show(c.Tostring)
Next