Share via


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

'Declaration
ReadOnly Property AdditionalAssemblyPaths As IEnumerable(Of String)
IEnumerable<string> AdditionalAssemblyPaths { get; }
property IEnumerable<String^>^ AdditionalAssemblyPaths {
    IEnumerable<String^>^ get ();
}
abstract AdditionalAssemblyPaths : IEnumerable<string> with get
function get AdditionalAssemblyPaths () : IEnumerable<String>

Property Value

Type: 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

See Also

Reference

IToolboxItemDiscovery Interface

Microsoft.VisualStudio.Shell Namespace