ProvideToolboxItemsAttribute Constructor (Int32, Boolean)
Initializes a new instance of ProvideToolboxItemsAttribute for the specified version.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.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: System.Int32The version of the items.
needsCallbackAfterReset
Type: System.BooleanIf true, then set the registry key that forces a ToolboxInitialized event after each toolbox reset.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ProvideToolboxItemsAttribute Class