Compartilhar via


IToolboxItemDiscovery.AdditionalAssemblyPaths Property

Definition

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

public:
 property System::Collections::Generic::IEnumerable<System::String ^> ^ AdditionalAssemblyPaths { System::Collections::Generic::IEnumerable<System::String ^> ^ get(); };
public System.Collections.Generic.IEnumerable<string> AdditionalAssemblyPaths { get; }
member this.AdditionalAssemblyPaths : seq<string>
Public ReadOnly Property AdditionalAssemblyPaths As IEnumerable(Of String)

Property Value

Remarks

For each framework in the "frameworksToEnumerate" argument of the ProvideToolboxItemDiscovery attribute, 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 don't need to provide any additional assemblies.

This method may be called on a background thread.

Applies to