AddInStore Class
Provides methods to store and find information about available add-ins and pipeline segments.
Assembly: System.AddIn (in System.AddIn.dll)
The AddInStore type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | FindAddIn | Finds a specific add-in. |
![]() ![]() | FindAddIns(Type, PipelineStoreLocation) | Finds all add-ins for a specified host view of the add-in at a location specified by the PipelineStoreLocation enumeration value. |
![]() ![]() | FindAddIns(Type, PipelineStoreLocation, array<String>) | Finds all add-ins for a specified host view of the add-in at the location specified by a PipelineStoreLocation value and an optional add-ins folder. |
![]() ![]() | FindAddIns(Type, String, array<String>) | Finds all add-ins for a specified host view of the add-in from a specified root directory. |
![]() ![]() | Rebuild(PipelineStoreLocation) | Rebuilds the pipeline segments cache and includes new segments at the location specified by a PipelineStoreLocation value. |
![]() ![]() | Rebuild(String) | Rebuilds the pipeline segments cache and includes new segments from a specified root directory. |
![]() ![]() | RebuildAddIns | Rebuilds the add-in cache and includes new add-ins from a specified root directory. |
![]() ![]() | Update(PipelineStoreLocation) | Updates the pipeline segments cache with new segments at the location specified by a PipelineStoreLocation value. |
![]() ![]() | Update(String) | Updates the pipeline segments cache with new segments from a specified root directory. |
![]() ![]() | UpdateAddIns | Updates the add-in cache and includes new add-ins at a specified location. |
Use this class to build, rebuild, and update two cache files, as described in the following table.
Cache file | Methods that create the file |
|---|---|
PipelineSegments.store This file is located in the root directory of the pipeline directory structure. | Updates the file with new pipeline segments. If no new segments are installed, this method just validates the cache. Rebuilds the file and includes new pipeline segments. |
AddIns.store This file is located in a directory that contains one or more add-in subdirectories. If this directory is in the pipeline directory structure, it must be named AddIns. | Updates the file with new add-ins at a specified location. Call this method if your add-ins are outside the pipeline directory structure. If no new add-ins are installed, this method just validates the cache. Rebuilds the file and includes add-ins at a specified location. Call this method if your add-ins are outside the pipeline directory structure. If the add-ins are in the pipeline directory structure, this method updates the file with new add-ins. If the add-ins are in the pipeline directory structure, this method rebuilds the file and includes new add-ins. |
These methods create the cache files if they do not previously exist.
After the cache files are created, use the FindAddIns method to examine the files to find all add-ins that match a specified host view of the add-in. You can also use the FindAddIn method to find a specific add-in.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
