注冊(cè) 登錄
Office中國論壇/Access中國論壇 返回首頁

ganlinlao的個(gè)人空間 http://m.mzhfr.cn/?230471 [收藏] [復(fù)制] [分享] [RSS]

日志

vbRichClient5的Collection對(duì)象參考

熱度 1已有 2749 次閱讀2013-10-22 00:22 |個(gè)人分類:vb入門| vbRichClient5, Collection對(duì)象參考

Collection對(duì)象
    簡(jiǎn)介:創(chuàng)建集合對(duì)象,該對(duì)象比VB自帶的Collection和Scripting.Dictionary有更多的功能
    原型:Function Collection([CompatibleToVBCollection As Boolean = True], [StringCompareMode As StringCompareModeEnum = 1], [UniqueKeys As Boolean = True], [Content]) As cCollection

方法
Add()
原型:Sub Add(Item, [Key], [Before], [After])

Count()
原型:Function Count() As Long

Exists()
原型:Function Exists(Key) As Boolean

ItemExists()
原型:Function ItemExists(ItemValue, [FoundItemIndex As Long], [StringCompareMode As VbCompareMethod]) As Boolean

MakeLCID()
原型:Function MakeLCID(LangID As LangIDs, [SortID As SortIDs = SORT_DEFAULT]) As Long

Remove()
原型:Sub Remove(Key)

RemoveAll()
原型:Sub RemoveAll()

RemoveByIndex()
原型:Sub RemoveByIndex(IdxZeroBased As Long)

SerializeToJSONString()
原型:Function SerializeToJSONString() As String

SerializeToJSONUTF8()
原型:Function SerializeToJSONUTF8() As Byte()

SetStringCompareFlags()
原型:Sub SetStringCompareFlags(Flags As CmpFlags, [lcid As LCIDs], [SortID As SortIDs = SORT_DEFAULT])

SortKeysCount()
原型:Function SortKeysCount() As Long

屬性

CompatibleToVBCollection
原型:Property CompatibleToVBCollection As Boolean

Content
原型:Property Content As Byte()

IndexByKey
原型:Property IndexByKey(Key, [Force_EvenIfNonExistent As Boolean]) As LongIndexBySortKeyIndex

IndexBySortKeyIndex
原型:Property IndexBySortKeyIndex(IdxZeroBased As Long) As Long

IsJSONArray
原型:Property IsJSONArray As Boolean

IsJSONObject
原型:Property IsJSONObject As Boolean

Item
原型:Property Item(Key)   缺省成員

ItemByIndex
原型:Property ItemByIndex(IdxZeroBased As Long)

ItemBySortKeyIndex
原型:Property ItemBySortKeyIndex(IdxZeroBased As Long)

KeyByIndex
原型:Property KeyByIndex(IdxZeroBased As Long)    只讀

KeyBySortKeyIndex
原型:Property KeyBySortKeyIndex(IdxZeroBased As Long)  只讀

Prop
原型:Property Prop(Key)

SortKeyIndexByIndex
原型:Property SortKeyIndexByIndex(IdxZeroBased As Long) As Long    只讀

SortKeyIndexByKey
原型:Property SortKeyIndexByKey(Key, [Force_EvenIfNonExistent As Boolean]) As Long   只讀

StringCompareMode
原型:Property StringCompareMode As StringCompareModeEnum

UniqueKeys
原型:Property UniqueKeys As Boolean

發(fā)表評(píng)論 評(píng)論 (1 個(gè)評(píng)論)

回復(fù) admin 2013-10-22 09:10
Good!

facelist doodle 涂鴉板

您需要登錄后才可以評(píng)論 登錄 | 注冊(cè)

QQ|站長郵箱|小黑屋|手機(jī)版|Office中國/Access中國 ( 粵ICP備10043721號(hào)-1 )  

GMT+8, 2025-7-13 03:08 , Processed in 0.087308 second(s), 18 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

返回頂部