GenerateOfficeAddInManifest.KeyName Property (2007 System)
Gets or sets the name of the registry key, which is the default add-in name.
Namespace: Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly: Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)
Syntax
'Declaration
<RequiredAttribute> _
Public Property KeyName As String
'Usage
Dim instance As GenerateOfficeAddInManifest
Dim value As String
value = instance.KeyName
instance.KeyName = value
[RequiredAttribute]
public string KeyName { get; set; }
[RequiredAttribute]
public:
property String^ KeyName {
String^ get ();
void set (String^ value);
}
public function get KeyName () : String
public function set KeyName (value : String)
Property Value
Type: System.String
A String that represents the name of the registry key, which is the default add-in name.
Remarks
This is the registry key that will be used by the application to load the add-in. For more information, see Registry Entries for Application-Level Add-Ins.
The KeyName property must be assigned before Execute is called.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
GenerateOfficeAddInManifest Class