다음을 통해 공유


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

‘선언
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

See Also

Reference

IToolboxItemDiscovery Interface

Microsoft.VisualStudio.Shell Namespace