Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3353

About UserDataDictionary.Add (Key as String, Item As Long = 0)

$
0
0

Hi,

 

Do you know how can we manipulate the Item parameter ?

 

' UserDataDictionary.Add (Key as String, Item As Long = 0)

 

-- I create my key

UserDataDictionary.Add "Ma clef d'identification", 1

 

-- I set data to my key

UserDataDictionary("Ma clef d'identification") = ("2")

 

-- I read all keys and datas from Data Dictionary

For Each key In UserDataDictionary.Keys

   Output " Clef => " & key & " Donnée => " & CStr(UserDataDictionary(key))

Next

 

*************************************

 

Now I want use Item

 

-- If I set Item to number 2

UserDataDictionary.Add "Ma clef d'identification", 2

 

How I set Data Item 2 in Data Dictionnary?

How I read Key/Data Item 2 from Data Dictionnary?

 

Thank you


Viewing all articles
Browse latest Browse all 3353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>