ResetDefaultSortOrderLang (Property)

Applies To:

Application object

Description:

Clears the current sort order language. This property is equivalent to disabling the Use this choice option on the International tab of the Properties dialog box.

Example:

This example shows how to use the ResetDefaultSortOrderLang (Method) to clear the default sort order language.

//Clear all textboxes except TextBox5
TextBox1.Text = ""
TextBox1.Text = ""
TextBox1.Text = ""
TextBox4.Text = ActiveSection.Name
var ActionName = "ResetDefaultSortOrderLang new"
TextBox1.Text ="Start " + ActionName
try
{
Application.ResetDefaultSortOrderLang()
}
catch(e)
{
TextBox2.Text = "Caught: " + e.toString()
}
TextBox1.Text ="End " + ActionName