/// <summary> Returns the value of the named parameter, as a string. The value can /// come from teh defaults, if there are. /// /// </summary> /// <param name="pname">The parameter name. /// /// </param> /// <returns> the value of the parameter as a string, or null if there is no /// parameter with the name 'pname'. /// /// </returns> public virtual System.String getParameter(System.String pname) { System.String pval; //UPGRADE_ISSUE: Field 'java.util.Properties.defaults' was not converted. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1000_javautilPropertiesdefaults_f'" if (!TryGetValue(pname, out pval) && defaults != null) { // if parameter is not there // Look in defaults //UPGRADE_ISSUE: Field 'java.util.Properties.defaults' was not converted. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1000_javautilPropertiesdefaults_f'" if (!defaults.TryGetValue(pname, out pval)) { return(null); } } return(pval); }