UrbanPro
true

Learn IT Courses from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

VbScript Dictionary Objects

Praful
19/12/2017 0 0

Dictionary objects are key value pairs object.One of the use of dictionary can be  to find unique elements in a given set of data.

Below is the example of the methods that can be used in dictionary:

Set objDict=CreateObject(“Scripting.Dictionary”)

objDict.Add “1”,”test6″    ‘Add method is used to add unique key with a value to dictionary

objDict.Add “2”,”test2″

objDict.Add “3”,”test3″

objDict.Add “7”,”test7″

‘msgbox objDict.CompareMode

‘msgbox objDict.Count ‘Count method return the no of key-value pairs present in the dictionary.

objDict.Key(“1″)=”6” ‘key method is used to read/modify the value associated with the key

‘msgbox objDict.Exists(“6”) ‘Exists method check whether the given key is present in the dictionary or not.return value is true/false

keys=objDict.Keys ‘keys method returns a collection of all the keys present in the dictionary

For each key in keys

msgbox objDict.Item(key) ‘Item method return the value stored for the specified key.

0 Dislike
Follow 2

Please Enter a comment

Submit

Other Lessons for You

What Points Determines A Candidate Is Fit For A QA Job Or Not?
Following are some(base) Points Which Determine a Candidate is Fit for the QA Job or Not: 1.On Curiosity and passion: Being a software tester means being curious for everything. You need to mirror a child...
I

ICreative Solution

0 0
0

Effective Test Automation by Example - Video lesson
Test automation needs lot of Porcess planning, designing and implementation. Once these are defined then one can identify the right tool for the application and also to the level of organzational...

Tips of learning Java Language/Other Programming Languages
1.You should know the basic concept: If we talk about programming languages so basic concept are same in all the high level languages. So you should know the basic concept firstly then you can easily understand...
I

ICreative Solution

0 0
0

Memory
there are two type of memory (1) is primary (2)is secondary Primary is divided in two part (1) ROM (2)RAM ROM- IT is divided in three part prom, eprom, eeprom RAM- RAM IS DIVIDED IN TWO PART SRAM...
B

Coding for Children: Scratch
What is coding? Coding has become a must-have skill in this 21st century. Coding, or computer programming, is how we communicate with Devices. Code mentions the machine what moves to make, and composing...
X

Looking for IT Courses Classes?

The best tutors for IT Courses Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn IT Courses with the Best Tutors

The best Tutors for IT Courses Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more