注册 登录
Office中国论坛/Access中国论坛 返回首页

ganlinlao的个人空间 http://www.office-cn.net/?230471 [收藏] [复制] [分享] [RSS]

日志

vbRichClient5的SortedDictionary对象参考

已有 2071 次阅读2013-10-26 23:08 |个人分类:vb入门| vbRichClient5, SortedDictionary

SortedDictionary
    简介:创建有序字典对象
    原型:Function SortedDictionary([StringCompareMode As StringCompareModeEnum], [UniqueKeys As Boolean = True]) As cSortedDictionary
方法
Add()
 原型:Sub Add(Key, [Item])
Count()
 原型:Function Count() As Long
Exists()
 原型:Function Exists(Key) As Boolean
ItemExists()
 原型:Function ItemExists(ItemValue, [FoundItemIndex As Long], [StringCompareMode As VbCompareMethod]) As Boolean
Remove()
 原型:Sub Remove(Key)
RemoveAll()
 原型:Sub RemoveAll()
RemoveByIndex()
 原型:Sub RemoveByIndex(IdxZeroBased As Long)
SetStringCompareFlags()
 原型:Sub SetStringCompareFlags(Flags As CmpFlags, [LangID As LangIDs], [SortID As SortIDs = SORT_DEFAULT])

属性

IndexByKey
 原型:Property IndexByKey(Key, [Force_EvenIfNonExistent As Boolean]) As Long
Item
 原型:Property Item(Key)  缺省
ItemByIndex
 原型:Property ItemByIndex(IdxZeroBased As Long)
KeyByIndex
 原型:Property KeyByIndex(IdxZeroBased As Long)  只读
StringCompareMode
 原型:Property StringCompareMode As StringCompareModeEnum
UniqueKeys
 原型:Property UniqueKeys As Boolean

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 注册

QQ|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )  

GMT+8, 2024-4-27 05:25 , Processed in 0.062336 second(s), 17 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

返回顶部