ProvideToolboxItemsAttribute Constructor (Int32, Boolean)
Initializes a new instance of ProvideToolboxItemsAttribute for the specified version.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
声明
Public Sub New ( _
version As Integer, _
needsCallbackAfterReset As Boolean _
)
用法
Dim version As Integer
Dim needsCallbackAfterReset As Boolean
Dim instance As New ProvideToolboxItemsAttribute(version, _
needsCallbackAfterReset)
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.Int32
The version of the items.
- needsCallbackAfterReset
Type: System.Boolean
If 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
ProvideToolboxItemsAttribute Members