共用方式為


IVsConfigureToolboxItem.ConfigureToolboxItem(Object) Method

Definition

Configures a toolbox item.

public:
 int ConfigureToolboxItem(System::Object ^ item);
public:
 int ConfigureToolboxItem(Platform::Object ^ item);
int ConfigureToolboxItem(winrt::Windows::Foundation::IInspectable const & item);
public int ConfigureToolboxItem (object item);
abstract member ConfigureToolboxItem : obj -> int
Public Function ConfigureToolboxItem (item As Object) As Integer

Parameters

item
Object

[in] The item to be configured. This should be a ToolboxItem object.

Returns

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.

Applies to