Skip to content
本页内容

Count (属性)

返回一个 int 值,它代表集合中对象的数量。

示例

python
#本示例显示第一张工作表上 AllowEditRange 对象的数量
def test():
    print(Worksheets.Item(1).Protection.AllowEditRanges.Count)