SetOffice2007AddInRegistration.OfficeApplication Property
Gets or sets the Microsoft Office application for which the add-in is being registered.
Namespace: Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly: Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)
Syntax
'Declaration
<RequiredAttribute> _
Public Property OfficeApplication As String
Get
Set
[RequiredAttribute]
public string OfficeApplication { get; set; }
Property Value
Type: System.String
A String that represents the Microsoft Office application for which the add-in is being registered.
Remarks
The OfficeApplication 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.