CommonMessagePump.IVsCommonMessagePump.SetStatusBarText(String) 方法

定义

设置等待期间状态栏中的文本。

 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

状态栏文本。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

实现

注解

这可以在调用 ModalWaitForHandles 之前或在 ModalWaitForHandlesWithClient 中的某个回调期间设置。

适用于