GetRequiredValue ( String key, Type valueType ) { Object oValue; if ( !m_oMetadataProvider.TryGetValue(key, out oValue) ) { throw new ApplicationException("Value not found."); } return (oValue); }