This function takes the properties of a Menuitem and puts them into a GenericSet that is referenced by the key of a string and has the value of a string.
The hash table may not have any entries if there aren't any or there is an error in processing. It is the caller's responsibility to destroy the created GenericSet.
this |
Menuitem that we're interested in the properties of |
A brand new GenericSet that contains all of theroperties that are on this Menuitem this. |