zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    <C#>关于string.Empty & "" & null 的讨论
    c# checked unchecked 关键字 try
    sql2005数据库加锁后解锁
    c#对字符串转义符进行解码
    继承本质论
    javascript中parseInt和Number函数的用法区别
    BIRT 使用说明书
    最后一周
    修改字段
    SQLserver中join
  • 原文地址:https://www.cnblogs.com/Spacecup/p/3488617.html
Copyright © 2011-2022 走看看