TypeAndMemberDropdownBars.OnComboGetFocus Method

Called when a combo box gets the focus.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)

Syntax

'Declaration
Public Overridable Function OnComboGetFocus ( _
    combo As Integer _
) As Integer
public virtual int OnComboGetFocus(
    int combo
)
public:
virtual int OnComboGetFocus(
    int combo
)
abstract OnComboGetFocus : 
        combo:int -> int  
override OnComboGetFocus : 
        combo:int -> int
public function OnComboGetFocus(
    combo : int
) : int

Parameters

  • combo
    Type: Int32

    [in] The ID of the combo box (0 for the types combo box, 1 for the members combo box).

Return Value

Type: Int32
If successful, returns S_OK; otherwise, returns an error code.

Implements

IVsDropdownBarClient.OnComboGetFocus(Int32)

Remarks

Override this method if you need to do anything special when a particular combo box gets the focus.

This method is an implementation of the OnComboGetFocus method on the IVsDropdownBarClient interface.

The base method does nothing and always returns S_OK.

.NET Framework Security

See Also

Reference

TypeAndMemberDropdownBars Class

Microsoft.VisualStudio.Package Namespace