/// <summary>
        /// Required method for ArcGIS Component Category unregistration -
        /// Do not modify the contents of this method with the code editor.
        /// </summary>
        private static void ArcGISCategoryUnregistration(Type registerType)
        {
            string regKey = string.Format("HKEY_CLASSES_ROOT\\CLSID\\{{{0}}}", registerType.GUID);

            MxCommands.Unregister(regKey);
            ControlsCommands.Unregister(regKey);
        }
        // ReSharper disable once InconsistentNaming
        private static void ArcGisCategoryUnregistration(Type registerType)
        {
            string regKey = string.Format(CultureInfo.CurrentCulture, "HKEY_CLASSES_ROOT\\CLSID\\{{{0}}}", registerType.GUID);

            MxCommands.Unregister(regKey);
        }
Exemple #3
0
 private static void Unreg(string regKey)
 {
     MxCommands.Unregister(regKey);
 }
Exemple #4
0
 internal static void Unregister(string registryKey)
 {
     MxCommands.Unregister(registryKey);
 }
Exemple #5
0
        /// <summary>
        /// Required method for ArcGIS Component Category unregistration -
        /// Do not modify the contents of this method with the code editor.
        /// </summary>
        private static void ArcGISCategoryUnregistration(System.Type registerType)
        {
            string str = string.Format("HKEY_CLASSES_ROOT\\CLSID\\{{{0}}}", registerType.GUID);

            MxCommands.Unregister(str);
        }
Exemple #6
0
 private static void ArcGISCategoryUnregistration(Type registerType)
 {
     MxCommands.Unregister(string.Format(@"HKEY_CLASSES_ROOT\CLSID\{{{0}}}", registerType.GUID));
 }