TypeAndMemberDropdownBars.OnComboGetFocus Method
Called when a combo box gets the focus.
Namespace: Microsoft.VisualStudio.Package
Assemblies: 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.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Syntax
'宣告
Public Overridable Function OnComboGetFocus ( _
combo As Integer _
) As Integer
'用途
Dim instance As TypeAndMemberDropdownBars
Dim combo As Integer
Dim returnValue As Integer
returnValue = instance.OnComboGetFocus(combo)
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: System.Int32
[in] The ID of the combo box (0 for the types combo box, 1 for the members combo box).
Return Value
Type: System.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
- 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.
See Also
Reference
TypeAndMemberDropdownBars Class