コード例 #1
0
ファイル: IcuResourceBundle.cs プロジェクト: vkarthim/liblcm
 /// <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));
 }