Поделиться через


.NET Framework Components Tab, Choose Toolbox Items Dialog Box

This tab of the Choose Toolbox Items dialog box displays a list of .NET Framework components available on your local computer. To display this list, select Choose Toolbox Items from the Tools menu to display the Choose Toolbox Items dialog box, and then select its .NET Framework Components tab. To sort the components listed, select any column heading.

  • When the check box next to a component is selected, an icon for that component will be displayed in the Toolbox.

    Tip

    To add an instance of a .NET Framework component to a project document open for editing, drag its Toolbox icon onto the Design view surface. Default code for the component is inserted into your document, ready for you to modify. For more information, see How to: Manage the Toolbox Window and How to: Manipulate Toolbox Tabs.

  • When the check box next to a component is cleared, the corresponding icon will be removed from the Toolbox.

    Note

    The .NET Framework components installed on your computer remain available whether or not icons for them are displayed in the Toolbox.

The columns in this dialog box contain the following information:

  • Name
    Lists the names of .NET Framework components for which entries exist in your computer's registry.

  • Namespace
    Displays the hierarchy of the .NET Framework Class Library namespace that defines the structure of the component. Sort on this column to list the available components within each .NET Framework namespace installed on your computer.

  • Assembly Name
    Displays the name and version of the .NET Framework assembly that includes the namespace for each component. Sort on this column to list the namespaces contained in each .NET Framework assembly installed on your computer.

  • Directory
    Displays the location of the .NET Framework assembly. The default location for all assemblies is the Global Assembly Cache. For further information on the Global Assembly Cache, see Working with Assemblies and the Global Assembly Cache and Deployment and the Global Assembly Cache.

  • Filter
    Filters the list of .NET framework components based on the string you provide in the text box. All matches from any of the four columns are shown.

  • Clear
    Clears the filter string.

  • Browse
    Opens the Open dialog box, which lets you navigate to assemblies which contain .NET framework components. Use this to load assemblies which are not located in the Global Assembly Cache.

  • Language
    Shows the localized language of the assembly which contains the selected .NET framework component.

See Also

Reference

Choose Toolbox Items Dialog Box (Visual Studio)

COM Components Tab, Choose Toolbox Items Dialog Box

Toolbox

Concepts

Exposing .NET Framework Components to COM

Exposing COM Components to the .NET Framework