跳到主要内容

ApiCustomXmlPart

表示 ApiCustomXmlPart 类。

方法

方法返回值描述
Deleteboolean从自定义 XML 管理器中删除 XML。
DeleteAttributeboolean从指定 XPath 的 XML 节点删除属性。
DeleteElementboolean删除指定 XPath 的 XML 元素。
GetAttributestring | null返回指定 XPath 的 XML 节点的属性。
GetClassType"customXmlPart"返回 ApiCustomXmlPart 类的类型。
GetIdstring返回自定义 XML 部件的 ID。
GetNodesApiCustomXmlNode[]根据提供的 XPath 从自定义 XML 检索节点。
GetXmlstring从自定义 XML 部件检索 XML 字符串。
InsertAttributeboolean将属性插入指定 XPath 的 XML 节点。
InsertElementboolean在指定 XPath 插入 XML 元素。
UpdateAttributeboolean更新指定 XPath 的 XML 节点的属性。
UpdateElementboolean更新指定 XPath 的 XML 元素。