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)
Syntax
'Declaración
ReadOnly Property AdditionalAssemblyPaths As IEnumerable(Of String)
IEnumerable<string> AdditionalAssemblyPaths { get; }
Property Value
Type: System.Collections.Generic.IEnumerable<String>
Remarks
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.
.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.