ApiCustomXmlPart
表示 ApiCustomXmlPart 类。
方法
| 方法 | 返回值 | 描述 |
|---|---|---|
| Delete | boolean | 从自定义 XML 管理器中删除 XML。 |
| DeleteAttribute | boolean | 从指定 XPath 的 XML 节点删除属性。 |
| DeleteElement | boolean | 删除指定 XPath 的 XML 元素。 |
| GetAttribute | string | null | 返回指定 XPath 的 XML 节点的属性。 |
| GetClassType | "customXmlPart" | 返回 ApiCustomXmlPart 类的类型。 |
| GetId | string | 返回自定义 XML 部件的 ID。 |
| GetNodes | ApiCustomXmlNode[] | 根据提供的 XPath 从自定义 XML 检索节点。 |
| GetXml | string | 从自定义 XML 部件检索 XML 字符串。 |
| InsertAttribute | boolean | 将属性插入指定 XPath 的 XML 节点。 |
| InsertElement | boolean | 在指定 XPath 插入 XML 元素。 |
| UpdateAttribute | boolean | 更新指定 XPath 的 XML 节点的属性。 |
| UpdateElement | boolean | 更新指定 XPath 的 XML 元素。 |