ProvideToolboxItemDiscoveryAttribute ProvideToolboxItemDiscoveryAttribute ProvideToolboxItemDiscoveryAttribute ProvideToolboxItemDiscoveryAttribute ProvideToolboxItemDiscoveryAttribute Class

Definition

Defines a toolbox item type. Toolbox item types are exposed as pages in the Choose Toolbox Items dialog (where one page is created for each type).

public ref class ProvideToolboxItemDiscoveryAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideToolboxItemDiscoveryAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideToolboxItemDiscoveryAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
type ProvideToolboxItemDiscoveryAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideToolboxItemDiscoveryAttribute
Inherits RegistrationAttribute
Inheritance
ProvideToolboxItemDiscoveryAttributeProvideToolboxItemDiscoveryAttributeProvideToolboxItemDiscoveryAttributeProvideToolboxItemDiscoveryAttributeProvideToolboxItemDiscoveryAttribute
Attributes

Constructors

ProvideToolboxItemDiscoveryAttribute(String, String, Type, Type, String[]) ProvideToolboxItemDiscoveryAttribute(String, String, Type, Type, String[]) ProvideToolboxItemDiscoveryAttribute(String, String, Type, Type, String[]) ProvideToolboxItemDiscoveryAttribute(String, String, Type, Type, String[]) ProvideToolboxItemDiscoveryAttribute(String, String, Type, Type, String[])

Initializes a new instance of the ProvideToolboxItemDiscoveryAttribute class.

Properties

AppDomainCreatorType AppDomainCreatorType AppDomainCreatorType AppDomainCreatorType AppDomainCreatorType

Gets or sets the type of the IToolboxAppDomainControl implementation.

FileFilter FileFilter FileFilter FileFilter FileFilter

Gets or sets the file filter for the browse dialog.

HelperObjectType HelperObjectType HelperObjectType HelperObjectType HelperObjectType

Gets or sets the type of the helper object that will be passed to your IToolboxItemDiscovery implementation's constructor.

HideAssemblyName HideAssemblyName HideAssemblyName HideAssemblyName HideAssemblyName

Gets or sets whether the current tab is to hide the assembly name column in the Choose Toolbox Items dialog. If true, the assembly name column is hidden; if false (default), the assembly name column is displayed.

HideCulture HideCulture HideCulture HideCulture HideCulture

Gets or sets whether the current tab is to hide the language information in the Choose Toolbox Items dialog. If true, the language information is hidden; if false (default), the language information is displayed.

HideDirectory HideDirectory HideDirectory HideDirectory HideDirectory

Gets or sets whether the current tab is to hide the directory column in the Choose Toolbox Items dialog. If true, the directory column is hidden; if false (default), the directory column is displayed.

HideNamespace HideNamespace HideNamespace HideNamespace HideNamespace

Gets or sets whether the current tab is to hide the namespace column in the Choose Toolbox Items dialog. If true, the namespace column is hidden; if false (default) the namespace column is displayed.

HideVersion HideVersion HideVersion HideVersion HideVersion

Gets or sets whether the current tab is to hide the version in the Choose Toolbox Items dialog. If true, the version is hidden; if false (default), the version is displayed.

ItemCreatorType ItemCreatorType ItemCreatorType ItemCreatorType ItemCreatorType

Gets the type of the IToolboxItemCreator implementation.

ItemDiscoveryType ItemDiscoveryType ItemDiscoveryType ItemDiscoveryType ItemDiscoveryType

Gets the type of the IToolboxItemDiscovery implementation.

ItemPropertyIdsAndNames ItemPropertyIdsAndNames ItemPropertyIdsAndNames ItemPropertyIdsAndNames ItemPropertyIdsAndNames

Gets a collection of extra columns (as ID / DisplayName pairs) to display in the dialog.

PageOrder PageOrder PageOrder PageOrder PageOrder

Gets or sets the sort order of the page. If zero, the page is left unsorted and will appear after all pages with nonzero order values. Pages with equal order values are sorted alphabetically by name.

PlatformsToEnumerate PlatformsToEnumerate PlatformsToEnumerate PlatformsToEnumerate PlatformsToEnumerate

A collection of platform IDs indicating the platroms that should be enumerated to populate the list in this item type's "Choose Toolbox Items" page.

TypeId TypeId TypeId TypeId TypeId

Gets the identity of this instance of the attribute.

VisibilityUIContexts VisibilityUIContexts VisibilityUIContexts VisibilityUIContexts VisibilityUIContexts

Gets or sets a list of UIContexts that controls the visibility of the tab. The tab is hidden if none of the UI contexts are set. Only non-dynamic UI contexts are supported (for example, OsWindows8OrHigherContext). Use of dynamic contexts like NoSolutionContext is not supported and results in non-deterministic behaviors.

Methods

GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext)

Registers this attribute with the given context.

Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext)

Unregisters this attribute.

Applies to