点击或拖拽改变大小

Functions.XMLDocOpenFile 方法 (String)

X#
Open an XML document.

命名空间:  XSharp.XPP
程序集:  XSharp.XPP (在 XSharp.XPP.dll 中) 版本:2.22 GA
语法
 FUNCTION XMLDocOpenFile(
	cFileName AS STRING
) AS INT64
查看代码

参数

cFileName
类型:String
Name of an XML file to be parsed.

返回值

类型:Int64
Returns a non-zero numeric handle for the document, or 0 if there are not enough system resources for the parser, or when the file cannot be opened, read or parsed. The handle returned by this function must be used in subsequent calls to other XMLDoc..() functions.
备注
XMLDocOpenFile() opens a new XML document. It allocates system resources for the parser, opens and reads the file and parses it contents. While parsing a document, a tree is build by the parsing engine.
参见