IOleComponentUIManager.SetStatus Method

Specifies the status text message for the environment's status bar.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)


Function SetStatus ( _
    pwszStatusText As String, _
    dwReserved As UInteger _
) As Integer
‘사용 방법
Dim instance As IOleComponentUIManager
Dim pwszStatusText As String
Dim dwReserved As UInteger
Dim returnValue As Integer

returnValue = instance.SetStatus(pwszStatusText, _
int SetStatus(
    string pwszStatusText,
    uint dwReserved
int SetStatus(
    [InAttribute] String^ pwszStatusText, 
    [InAttribute] unsigned int dwReserved
abstract SetStatus : 
        pwszStatusText:string * 
        dwReserved:uint32 -> int 
function SetStatus(
    pwszStatusText : String, 
    dwReserved : uint
) : int


  • pwszStatusText
    Type: System.String
    [in] Specifies the status text message to display.
  • dwReserved
    Type: System.UInt32
    [in] Placeholder parameter; this value is currently ignored.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.


COM Signature

From oleipc.idl:

HRESULT IOleComponentUIManager::SetStatus(
   [in] LPCOLESTR pwszStatusText,
   [in] DWORD dwReserved

.NET Framework Security

See Also


IOleComponentUIManager Interface

IOleComponentUIManager Members

Microsoft.VisualStudio.Shell.Interop Namespace