Пример #1
0
 /// <summary>
 /// Gets the preferences for the current user where the key begins with the specified value.
 /// </summary>
 /// <param name="keyPrefix">A <see cref="System.String"/> representing the key preference. Any user preference
 /// for the current user that begins with this value will be returned.</param>
 /// <returns>A <see cref="System.Collections.Generic.Dictionary{String,String}"/> that contains all user preferences for the current
 /// user that begins with the key prefix.  Each <see cref="System.Collections.Generic.KeyValuePair{String,String}"/> includes
 /// a key <see cref="System.String"/> that represents the user preference key and a value <see cref="System.String"/> that
 /// represents the user preference value. If no preferences are found, an empty dictionary will be returned.</returns>
 public Dictionary <string, string> GetUserPreferences(string keyPrefix)
 {
     return(RockPage.GetUserPreferences(keyPrefix));
 }