I have an Outlook addin. In one of the methods, I am using the Restrict method to restrict the appointment items I am getting from a folder based on the Category name. So the restrict condition goes like this "[Categories] = 'xxxxxx'". It works just fine. But the issue comes when this addin works in a different language OS environment, for example, Korean. Apparently, the property names are translated according to the language of the OS and hence [Categories] may be something else in Korean. Is there a way to solve this issue? How can I code a restrict condition that will work in multiple languages? Is there a way to retrieve the property name and then use it to build the condition? I am giving [Categories] as an example, but I am also using different properties in the condition. Any help would be greatly appreciated. Thanks in advance.
|
|