[KnownTypeSet.Count property 获取集合中的项目数。 public int Count { get; } 也可以看看 class KnownTypeSet 命名空间 Aspose.Words.Reporting 部件 Aspose.Words]