This topic has not yet been rated - Rate this topic

AddInBaseAttribute Class

Identifies an object as an add-in view segment of the pipeline.

Namespace:  System.AddIn.Pipeline
Assembly:  System.AddIn (in System.AddIn.dll)
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface)]
public sealed class AddInBaseAttribute : Attribute

The Rebuild and Update methods, which maintain the store of information about available pipeline segments, use this attribute to identify an add-in view.

To construct the pipeline, the type in the add-in view that the add-in inherits from is identified by the AddInBaseAttribute attribute and is called the add-in base.

This attribute should be used only on types that activate the segments of the pipeline. Types that represent objects passed between the host and the add-in do not need this attribute.

The following example identifies the add-in base class for an add-in view pipeline segment.

// The AddInBaseAttribute identifes this interface as the basis for 
// the add-in view pipeline segment.
[AddInBase()]
public interface ICalculator 
{
System.Object
  System.Attribute
    System.AddIn.Pipeline.AddInBaseAttribute
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.