vbRichClient5的StringBuilder及StringCompare对象参考

StringBuilder
    简介:创建字符串构造器对象,快速组合字符串
    原型:Function StringBuilder() As cStringBuilder

方法
Append()
 原型:Sub Append(NextPart As String)
 说明:添加字符串
AppendNL()

 原型:Sub AppendNL(NextPart As String, [NLChars As String = ""])
 说明:添加字符串,并在末尾加上软回车

AppendXMLAttribute()
 原型:Sub AppendXMLAttribute(AttrName As String, AttrContent As String)

AppendXMLNodeContent()
 原型:Sub AppendXMLNodeContent(NodeContent As String)

Clear()
 原型:Sub Clear()

属性

length
 原型:Property length As Long
ToString
 原型:Property ToString As String
ToUTF8
 原型:Property ToUTF8 As Byte()

StringCompare
    简介:创建字符串比较器对象,支持多种方式比较
    原型:Function StringCompare() As cStringCompare

方法
CompareString()
 原型:Function CompareString(S1 As String, S2 As String, [Flags As CmpFlags = cmpStringSort], [lcid As LCIDs = LOCALE_SYSTEM_DEFAULT]) As Long
MakeLCID()
 原型:Function MakeLCID(LangID As LangIDs, [SortID As SortIDs = SORT_DEFAULT]) As Long

posted @ 2013-12-24 10:36  Spacecup  阅读(719)  评论(0编辑  收藏  举报