Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

ProvideToolboxPageAttribute Class

Registers a VSPackage as providing one or more dialog pages in the Customize Toolbox dialog page of the Visual Studio IDE.

Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in microsoft.visualstudio.shell.dll)

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=true, Inherited=true)] 
public sealed class ProvideToolboxPageAttribute : ProvideOptionDialogPageAttribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=true, Inherited=true) */ 
public final class ProvideToolboxPageAttribute extends ProvideOptionDialogPageAttribute
AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=true, Inherited=true) 
public final class ProvideToolboxPageAttribute extends ProvideOptionDialogPageAttribute

This attribute should be placed only on classes by providing VSPackages by implementing Package.

This attribute is read by the base implementation of the Package class when Visual Studio requests a Customize Toolbox dialog page and maps the request to the class implementing the Customize Toolbox dialog page.

A Customize Toolbox dialog page must be derived from the DialogPage class.

Attribute Context

Applies to

Classes providing VSPackages by implementing IVsPackage or Package.

Repeatable

Yes

Required attributes

None

Invalid attributes

None

Notes to Callers

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2015 Microsoft