/// <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); }
private static void Unreg(string regKey) { MxCommands.Unregister(regKey); }
internal static void Unregister(string registryKey) { MxCommands.Unregister(registryKey); }
/// <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); }
private static void ArcGISCategoryUnregistration(Type registerType) { MxCommands.Unregister(string.Format(@"HKEY_CLASSES_ROOT\CLSID\{{{0}}}", registerType.GUID)); }