当前位置: 首页>>代码示例>>C#>>正文


C# RegistrationAttribute.RemoveKey方法代码示例

本文整理汇总了C#中Microsoft.VisualStudio.Shell.RegistrationAttribute.RemoveKey方法的典型用法代码示例。如果您正苦于以下问题:C# RegistrationAttribute.RemoveKey方法的具体用法?C# RegistrationAttribute.RemoveKey怎么用?C# RegistrationAttribute.RemoveKey使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Microsoft.VisualStudio.Shell.RegistrationAttribute的用法示例。


在下文中一共展示了RegistrationAttribute.RemoveKey方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Unregister

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    public override void Unregister (RegistrationAttribute.RegistrationContext context)
    {
      context.RemoveKey (CLSIDKey);
    }
开发者ID:bleissem,项目名称:android-plus-plus,代码行数:8,代码来源:ProvideExternObjectAttribute.cs

示例2: Unregister

 public override void Unregister(RegistrationAttribute.RegistrationContext context) {
     if (context != null) {
         context.RemoveKey(String.Format(CultureInfo.InvariantCulture, "{0}\\{1}",
                                                      ToolboxControlsInstallerPath,
                                                      context.ComponentType.Assembly.FullName));
     }
 }
开发者ID:hintofherring,项目名称:RoboUtes-2014,代码行数:7,代码来源:ProvideToolboxControlAttribute.cs

示例3: Unregister

 /// <include file='doc\ProvideLanguageCodeExpansionAttribute.uex' path='docs/doc[@for="ProvideLanguageCodeExpansionAttribute.Unregister"]' />
 public override void Unregister(RegistrationAttribute.RegistrationContext context)
 {
     context.RemoveKey(LanguageRegistryKey);
 }
开发者ID:Graham-Pedersen,项目名称:IronPlot,代码行数:5,代码来源:ProvideLanguageCodeExpansionAttribute.cs

示例4: Unregister

 /// <summary>Removes registration information about a VSPackage when called by an external registration tool such as regpkg.exe.</summary>
 /// <param name="context">A registration context provided by an external registration tool. The context can be used to remove registry keys, log registration activity, and obtain information about the component being registered. </param>
 public override void Unregister(RegistrationAttribute.RegistrationContext context)
 {
     if (context == null) return;
     #if DEBUG
     Console.WriteLine("Unregistering AsmHighlighter Expression Evaluator");
     #endif
     context.RemoveKey(string.Format("AD7Metrics\\ExpressionEvaluator\\{0:B}\\{1:B}", languageGuid, vendorGuid));
     context.RemoveKeyIfEmpty(string.Format("AD7Metrics\\ExpressionEvaluator\\{0:B}", languageGuid));
 }
开发者ID:Trass3r,项目名称:AsmHighlighter,代码行数:11,代码来源:RegisterExpressionEvaluatorAttribute.cs

示例5: Unregister

 /// <include file='doc\ProvideLanguageServiceAttribute.uex' path='docs/doc[@for="ProvideLanguageServiceAttribute.Unregister"]' />
 public override void Unregister(RegistrationAttribute.RegistrationContext context)
 {
     context.RemoveKey(LanguageServicesKeyName);
 }
开发者ID:Graham-Pedersen,项目名称:IronPlot,代码行数:5,代码来源:providelanguageServiceAttribute.cs

示例6: RemoveRegistryEntries

 internal static void RemoveRegistryEntries(RegistrationAttribute.RegistrationContext context, string languageName, string categoryName)
 {
     context.RemoveKey(FormatRegKey(languageName, categoryName));
 }
开发者ID:Graham-Pedersen,项目名称:IronPlot,代码行数:4,代码来源:ProvideLanguageEditorOptionPageAttribute.cs

示例7: Unregister

 public override void Unregister(RegistrationAttribute.RegistrationContext context)
 {
     context.RemoveKey("Text Editor\\External Markers\\{" + GuidConstants.BaseMarkerGuid + "}");
 }
开发者ID:qianlifeng,项目名称:easyvsx,代码行数:4,代码来源:RegisterCustomerMarker.cs

示例8: Unregister

 public override void Unregister(RegistrationAttribute.RegistrationContext context)
 {
     context.RemoveKey(GetKey(_key));
 }
开发者ID:pvginkel,项目名称:VisualGit,代码行数:4,代码来源:ProvideLanguageSettings.cs

示例9: Unregister

 public override void Unregister(RegistrationAttribute.RegistrationContext context)
 {
     context.RemoveKey(REG_KEY_CONNECTORS + "\\" + RegGuid.ToString("B"));
 }
开发者ID:simoneb,项目名称:AnkhVersionOneConnector,代码行数:4,代码来源:ProvideIssueRepositoryConnectorAttribute.cs

示例10: Unregister

 public override void Unregister(RegistrationAttribute.RegistrationContext context)
 {
     context.RemoveKey(@"DataProviders\{" + GuidList.guidNpgsqlDdexProviderDataProviderString + @"}");
     context.RemoveKey(@"DataSources\{" + GuidList.guidNpgsqlDdexProviderDataSourceString + @"}");
 }
开发者ID:CarlosSolrac,项目名称:npgsql,代码行数:5,代码来源:NpgsqlDataProviderRegistration.cs

示例11: Unregister

 /// <summary>
 /// Delete our specified keys
 /// </summary>
 /// <param name="context">The context that this registration attribute is being used in</param>
 public override void Unregister(RegistrationAttribute.RegistrationContext context)
 {
     context.RemoveKey(@"Generators\" + this.ProjectSystem + @"\" + this.Name);
     context.RemoveKey(@"CLSID\{" + this.Type.GUID + @"}");
     context.Log.WriteLine(string.Format(
         CultureInfo.CurrentCulture,
         Resources.ProvideCodeGeneratorAttribute_UnregisterLog,
         this.Name,
         this.Type.GUID));
 }
开发者ID:NuPattern,项目名称:NuPattern,代码行数:14,代码来源:ProvideCodeGeneratorAttribute.cs


注:本文中的Microsoft.VisualStudio.Shell.RegistrationAttribute.RemoveKey方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。