filter方法

filter(type, sheet_index)

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

返回

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

也可以看看