Preferences.GetPreferenceValue
 
 
 

Preferences.GetPreferenceValue

Description

Returns the specified preference value.

C# Syntax

Object Preferences.GetPreferenceValue( String in_bstrPrefName );

Scripting Syntax

oVariant = Preferences.GetPreferenceValue( PreferenceName );

Return Value

Variant

Parameters

Parameter Type Description
PreferenceName String The name of the preference to get. The syntax for specifying an individual preference is: "category.preference".

Examples

Python Example

Application.LogMessage( Application.Preferences.GetPreferenceValue("scripting.language") )
# INFO : Python

See Also

Preferences.SetPreferenceValue GetUserPref Preferences.Categories Preferences.Import Preferences.Export Preferences.RestoreDefault Preferences.SaveChanges