CustomXmlSchemaCollection

CustomXmlSchemaCollection

概述

CustomXmlSchemaCollection 是 Aspose.Words FOSS 中用于 .NET 的类。继承自:IEnumerable<string>。

一组字符串,表示与自定义 XML 部分关联的 XML 架构。

此类提供 7 种方法,用于在 .NET 程序中处理 CustomXmlSchemaCollection 对象。可用的方法包括:Add、Clear、Clone、GetEnumerator、IndexOf、Remove、RemoveAt。安装 Aspose.Words FOSS for .NET 包后,所有公共成员均可供任何 .NET 应用访问。属性:Count。

属性

名称类型访问描述
Countint读取获取集合中包含的元素数量。

方法

签名描述
GetEnumerator()返回一个 enumeratoriteratorenumerator 对象,可用于遍历集合中的所有项。
Add(value: string)向集合中添加一个项。
IndexOf(value: string)返回集合中指定值的零基索引。
Remove(name: string)从集合中移除指定的值。
RemoveAt(index: int)移除指定索引处的值。
Clear()清空集合中的所有元素。
Clone()对此对象进行深度克隆。

另请参阅

 中文