No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
LocaleOptions
Specifies the language of the labels returned.
API Calls
describeSObject(), describeSObjects(), describeDataCategoryGroups(), describeDataCategoryGroupStructures()
Fields
Sample Code—Java
This sample sets
the LocaleOptions header to the
locale of the logged-in user, and then performs a describe on Account.
1swfobject.registerObject("clippy.codeblock-0", "9");public void localeOptionsExample() {
2 try {
3 connection.setLocaleOptions("en_US");
4 connection.describeSObject("Account");
5 } catch (ConnectionException ce) {
6 ce.printStackTrace();
7 }
8}
9