MarcNodeList MembersMarcQuery Class Library

The MarcNodeList type exposes the following members.
Constructors

  NameDescription
Public methodMarcNodeList 
初始化一个 MarcNodeList 对象
Public methodMarcNodeList(MarcNode)
初始化一个 MarcNodeList 对象,并填入一个 MarcNode 对象
Back to Top
Methods

  NameDescription
Public methodadd(MarcNode)
在当前集合末尾添加一个元素
Public methodadd(MarcNodeList)
在当前集合末尾添加若干元素
Public methodafter(String)
在当前集合中每个元素的 DOM 位置后面插入新元素,新元素由指定的源字符串构造
Public methodafter(MarcNodeList)
在当前集合中每个元素的 DOM 位置后面插入指定的源集合内的元素
Public methodappend(String)
在当前集合中每个元素的 DOM 位置的下级末尾 追加根据源字符串构造的新元素
Public methodappend(MarcNodeList)
在当前集合中每个元素的 DOM 位置的下级末尾 追加来自源集合内的元素
Public methodappendTo
将当前集合内的每个元素追加到指定的目标集合的 DOM 位置下级末尾
Public methodclear
清除当前集合中的全部元素
Public methodclone
根据当前集合复制出一个新的集合对象。本方法采取的是否深度复制策略,即新集合中的每个元素都是复制品
Public methoddetach
把当前集合内的每个元素从 DOM 位置摘除
Public methoddump
输出当前对象的调试用字符串
Public method联机Equals (Inherited from 联机Object.)
Protected method联机Finalize (Inherited from 联机Object.)
Public methodfirst
获得当前集合的第一个元素
Public methodgetAt(Int32)
获得指定下标位置的元素
Public methodgetAt(Int32, Int32)
获得当前集合中一段范围的元素
Public method联机GetHashCode (Inherited from 联机Object.)
Public method联机GetType (Inherited from 联机Object.)
Public methodindexOf
获得一个元素在集合中的下标
Public methodinsert
在当前集合指定的下标位置插入一个元素
Public methodinsertAfter
将当前集合中的每个元素插入到指定的目标集合的每个元素的 DOM 位置后面
Public methodinsertSequence
向当前集合中添加一个节点元素,按节点名字顺序决定加入的位置
Public methodlast
获得当前集合的最后一个元素
Protected method联机MemberwiseClone (Inherited from 联机Object.)
Public methodprepend(String)
在当前集合的每个元素的 DOM 位置的下级开头插入根据指定的源字符串构造的新元素
Public methodprepend(MarcNodeList)
在当前集合的每个元素的 DOM 位置的下级开头插入源集合内的元素
Public methodprependTo
将当前集合内的全部元素插入到指定的目标集合的 DOM 位置下级开头
Public methodremove 
从当前集合中移走全部元素。注意,本函数并不修改所移走的元素的 Parent 成员。也就是说移走的元素并未完全被摘除
Public methodremove(MarcNode)
从当前集合中移走指定的元素
Public methodremoveAt
从指定下标位置移走一个元素
Public methodselect
针对当前集合中的全部元素进行 XPath 选择
Public methodsort 
对集合进行排序。按照节点名升序排序
Public methodsort(IComparer MarcNode )
对集合进行排序
Public method联机ToString (Inherited from 联机Object.)
Back to Top
Properties

  NameDescription
Public propertyAllText
获得当前集合中全部元素的 Text 值所连接起来的一个字符串值
Public propertyContent
修改当前集合中每个元素的 Content 值
Public propertycount
当前集合中的元素个数
Public propertyFirstChild
获得当前集合中所有元素的第一个下级元素。注意这是一个集合
Public propertyFirstContent
获得当前集合中第一个元素的 Content 值
Public propertyFirstIndicator
获得当前集合中第一个元素的 Indicator 值
Public propertyFirstIndicator1
获得当前集合中中第一个元素的 Indicator1 值
Public propertyFirstIndicator2
获得当前集合的第一个元素的 Indicator2 值
Public propertyFirstLeading
获得当前集合中第一个 MarcField 类型元素的 Leading 值。注意,只有 MarcField 类型的节点才有 Leading 值。
Public propertyFirstName
获得当前集合中第一个元素的 Name 值
Public propertyFirstText
获得当前集合第一个元素的 Text 值
Public propertyIndicator
修改当前集合中每个元素的 Indicator 值
Public propertyIndicator1
修改当前集合中每个元素的 Indicator1 值
Public propertyIndicator2
修改当前集合中每个元素的 Indicator2 值
Public propertyItem
根据下标存取集合的元素
Public propertyLastChild
获得当前集合中所有元素的最后一个下级元素。注意这是一个集合
Public propertyLeading
修改当前集合中每个 MarcField 类型的元素的 Leading 值
Public propertylength
当前集合中的元素个数
Public propertyName
修改当前集合中的每个元素的 Name 值
Public propertyText
修改当前集合中每个元素的 Text 值
Back to Top
See Also