Поделиться через


IVsDropdownBarClient.OnItemSelected Method

Fires when a combo item is selected.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Декларация
Function OnItemSelected ( _
    iCombo As Integer, _
    iIndex As Integer _
) As Integer
int OnItemSelected(
    int iCombo,
    int iIndex
)
int OnItemSelected(
    [InAttribute] int iCombo, 
    [InAttribute] int iIndex
)
abstract OnItemSelected : 
        iCombo:int * 
        iIndex:int -> int 
function OnItemSelected(
    iCombo : int, 
    iIndex : int
) : int

Parameters

  • iCombo
    Type: System.Int32
    [in] The drop-down bar/Window combo.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsDropdownBarClient::OnItemSelected(
   [in] long iCombo,
   [in] long iIndex
);

.NET Framework Security

See Also

Reference

IVsDropdownBarClient Interface

Microsoft.VisualStudio.TextManager.Interop Namespace