Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Usage
Dim instance As GenerateOfficeAddInManifest
Dim value As String
value = instance.OfficeApplication
instance.OfficeApplication = value
[RequiredAttribute]
public string OfficeApplication { get; set; }
[RequiredAttribute]
public:
property String^ OfficeApplication {
String^ get ();
void set (String^ value);
}
public function get OfficeApplication () : String
public function set OfficeApplication (value : String)
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
- 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