Partager via


IVsConfigureToolboxItem.ConfigureToolboxItem Method

Configures a toolbox item.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Déclaration
Function ConfigureToolboxItem ( _
    item As Object _
) As Integer
'Utilisation
Dim instance As IVsConfigureToolboxItem
Dim item As Object
Dim returnValue As Integer

returnValue = instance.ConfigureToolboxItem(item)
int ConfigureToolboxItem(
    Object item
)
int ConfigureToolboxItem(
    [InAttribute] Object^ item
)
abstract ConfigureToolboxItem : 
        item:Object -> int 
function ConfigureToolboxItem(
    item : Object
) : int

Parameters

  • item
    Type: System.Object
    [in] [System.Drawing.Design.ToolboxItem] object for the item to configure.

Return Value

Type: System.Int32
Returns S_OK if the item was configured.

Remarks

This method is called when an item is added to the toolbox.

.NET Framework Security

See Also

Reference

IVsConfigureToolboxItem Interface

IVsConfigureToolboxItem Members

Microsoft.VisualStudio.Shell.Interop Namespace