IVsConfigureToolboxItem.ConfigureToolboxItem Method
Configures a toolbox item.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio (in Microsoft.VisualStudio.dll)
Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function ConfigureToolboxItem ( _
item As Object _
) As Integer
int ConfigureToolboxItem(
Object item
)
int ConfigureToolboxItem(
[InAttribute] Object^ item
)
abstract ConfigureToolboxItem :
item:Object -> int
function ConfigureToolboxItem(
item : Object
) : int
Parameters
item
Type: Object[in] The item to be configured. This should be a ToolboxItem object.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
This method is called when an item is added to the toolbox.
.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.