VsDropdownBarClass.RefreshCombo(Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
强制重新绘制组合,指定当前选择。
public:
virtual int RefreshCombo(int iCombo, int iNewSelection) = Microsoft::VisualStudio::TextManager::Interop::IVsDropdownBar::RefreshCombo;
public:
virtual int RefreshCombo(int iCombo, int iNewSelection) = Microsoft::VisualStudio::TextManager::Interop::IVsDropdownBar::RefreshCombo;
virtual int RefreshCombo(int iCombo, int iNewSelection);
public virtual int RefreshCombo (int iCombo, int iNewSelection);
abstract member RefreshCombo : int * int -> int
override this.RefreshCombo : int * int -> int
Public Overridable Function RefreshCombo (iCombo As Integer, iNewSelection As Integer) As Integer
参数
- iCombo
- Int32
中下拉栏/窗口组合框。
- iNewSelection
- Int32
中新选择的项。
返回
如果该方法成功,则返回 S_OK ; 否则返回错误代码。