public bool RemoveHelpFile(string namespaceName, string helpFileId, int languageId) { if (register == null || string.IsNullOrEmpty(namespaceName) || string.IsNullOrEmpty(helpFileId)) { return(false); } try { if (register.IsNamespace(namespaceName)) { register.RemoveHelpFile(namespaceName, helpFileId, languageId); } return(true); } catch (System.Runtime.InteropServices.COMException) { } return(false); }
public bool RemoveHelpFile(string namespaceName, string helpFileId, int languageId) { if (_hxRegister == null || String.IsNullOrEmpty(namespaceName) || String.IsNullOrEmpty(helpFileId)) { return(false); } try { if (_hxRegister.IsNamespace(namespaceName)) { _hxRegister.RemoveHelpFile(namespaceName, helpFileId, languageId); } return(true); } catch (COMException) { } return(false); }