Activity Forums Salesforce® Discussions What is the use of values() in map in Salesforce?

  • Deepak

    Member
    February 21, 2020 at 2:54 pm

    Hi Pooja,

    values() -  This method returns a list which contains all the values in the map.The values are returned in an arbitrary order.

  • Kirandeep

    Member
    February 21, 2020 at 3:05 pm

    Values() is a predefined method in map class which return list which contains all the values in the map.

  • Aditya

    Member
    February 21, 2020 at 4:29 pm

    Values in Map are basically return the values of their corresponding  keys in Collection of Salesforce Apex.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos