CommonMessagePump.IVsCommonMessagePump.SetStatusBarText(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置等待期间状态栏中的文本。
virtual int Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetStatusBarText(System::String ^ statusBarText) = Microsoft::VisualStudio::Shell::Interop::IVsCommonMessagePump::SetStatusBarText;
virtual int Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetStatusBarText(Platform::String ^ statusBarText) = Microsoft::VisualStudio::Shell::Interop::IVsCommonMessagePump::SetStatusBarText;
int Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetStatusBarText(std::wstring const & statusBarText);
int IVsCommonMessagePump.SetStatusBarText (string statusBarText);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetStatusBarText : string -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetStatusBarText : string -> int
Function SetStatusBarText (statusBarText As String) As Integer Implements IVsCommonMessagePump.SetStatusBarText
参数
- statusBarText
- String
状态栏文本。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
实现
注解
这可以在调用 ModalWaitForHandles 之前或在 ModalWaitForHandlesWithClient 中的某个回调期间设置。