Share via


GenerateOfficeAddInManifest.OfficeApplication Property

Gets or sets the name of the Microsoft Office application that is running the current add-in.

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 name of the Microsoft Office application that is running the current add-in.

Remarks

The OfficeApplication property must be assigned before Execute is called.

.NET Framework Security

See Also

Reference

GenerateOfficeAddInManifest Class

Microsoft.VisualStudio.Tools.Office.BuildTasks Namespace