filter方法

filter(self, type, sheet_index)

按范围获取所有定义的名称。

返回


def filter(self, type, sheet_index):
    ...
范围类型描述
typeNameScopeType范围类型。
sheet_indexint工作表索引。
仅当范围类型为 NameScopeType.WORKSHEET 时有效

也可以看看