示例#1
0
 /// <summary>Get a named string from the resource bundle</summary>
 /// <param name='key'>The name of the string to retrieve</param>
 /// <returns>The retrieved string (or throws IcuException if the string is not present)</returns>
 public string GetStringByKey(string key)
 {
     if (this.IsNullBundle)
     {
         return(String.Empty);
     }
     return(Icu.GetResourceBundleStringByKey(m_bundle, key));
 }