GenerateOfficeAddInManifest.KeyName 属性

获取或设置作为默认外接程序名称的注册表项名称。

命名空间:  Microsoft.VisualStudio.Tools.Office.BuildTasks
程序集:  Microsoft.VisualStudio.Tools.Office.BuildTasks(在 Microsoft.VisualStudio.Tools.Office.BuildTasks.dll 中)

语法

声明
<RequiredAttribute> _
Public Property KeyName As String
    Get
    Set
[RequiredAttribute]
public string KeyName { get; set; }

属性值

类型:System.String
一个 String,表示作为默认外接程序名称的注册表项名称。

备注

这是由应用程序用于加载外接程序的注册表项。 有关更多信息,请参见 应用程序级外接程序的注册表项

KeyName 属性必须在调用 Execute 之前进行赋值。

.NET Framework 安全性

请参见

参考

GenerateOfficeAddInManifest 类

Microsoft.VisualStudio.Tools.Office.BuildTasks 命名空间