OutlookAddIn Class (2007 System)

Represents a Microsoft Office Outlook add-in.

Namespace:  Microsoft.Office.Tools.Outlook
Assembly:  Microsoft.Office.Tools.Outlook.v9.0 (in Microsoft.Office.Tools.Outlook.v9.0.dll)

Syntax

'Declaration
<AddInBaseAttribute(ActivatableAs := )> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class OutlookAddIn _
    Inherits AddIn
'Usage
Dim instance As OutlookAddIn
[AddInBaseAttribute(ActivatableAs = )]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class OutlookAddIn : AddIn
[AddInBaseAttribute(ActivatableAs = )]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class OutlookAddIn : public AddIn
public class OutlookAddIn extends AddIn

Remarks

When you create an Outlook add-in project, Visual Studio Tools for Office automatically creates a class named ThisAddIn, which derives from OutlookAddIn. The ThisAddIn class provides a starting location in which you can write your code. You can access the object model of the host application by using the Application field of the ThisAddIn class. For more information about the ThisAddIn class, see Programming Application-Level Add-Ins.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Tools.Office.RemoteComponent
    Microsoft.VisualStudio.Tools.Office.EntryPointComponentBase
      Microsoft.VisualStudio.Tools.Office.EntryPointBindableComponentBase
        Microsoft.Office.Tools.AddIn
          Microsoft.Office.Tools.Outlook.OutlookAddIn

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

OutlookAddIn Members

Microsoft.Office.Tools.Outlook Namespace