Compartir a través de


ProvideToolboxItemsAttribute Constructor (Int32, Boolean)

Initializes a new instance of ProvideToolboxItemsAttribute for the specified version.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    version As Integer, _
    needsCallbackAfterReset As Boolean _
)
public ProvideToolboxItemsAttribute(
    int version,
    bool needsCallbackAfterReset
)
public:
ProvideToolboxItemsAttribute(
    int version, 
    bool needsCallbackAfterReset
)
new : 
        version:int * 
        needsCallbackAfterReset:bool -> ProvideToolboxItemsAttribute
public function ProvideToolboxItemsAttribute(
    version : int, 
    needsCallbackAfterReset : boolean
)

Parameters

  • version
    Type: Int32

    The version of the items.

  • needsCallbackAfterReset
    Type: Boolean

    If true, then set the registry key that forces a ToolboxInitialized event after each toolbox reset.

.NET Framework Security

See Also

Reference

ProvideToolboxItemsAttribute Class

ProvideToolboxItemsAttribute Overload

Microsoft.VisualStudio.Shell Namespace