IToolboxItemDiscovery::AdditionalAssemblyPaths Property

 

Gets a collection of additional assembly paths to search for toolbox items.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

property IEnumerable<String^>^ AdditionalAssemblyPaths {
	IEnumerable<String^>^ get();
}

For each framework in the frameworksToEnumerate argument of ProvideToolboxItemDiscoveryAttribute, the toolbox will enumerate all assemblies registered under AssemblyFoldersEx keys, and pass their types to GetItemInfo. However, if you want additional assemblies to show up in your list, you can supply their paths here. You can even omit the frameworksToEnumerate argument altogether to use only the assemblies returned from this property. You can return null or an empty enumerator if you do not need to provide any additional assemblies.

Return to top
Show: