Condividi tramite


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)

Syntax

'Dichiarazione
Function SetStatus ( _
    pwszStatusText As String, _
    dwReserved As UInteger _
) As Integer
'Utilizzo
Dim instance As IOleComponentUIManager
Dim pwszStatusText As String
Dim dwReserved As UInteger
Dim returnValue As Integer

returnValue = instance.SetStatus(pwszStatusText, _
    dwReserved)
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

Parameters

  • 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.

Remarks

COM Signature

From oleipc.idl:

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

.NET Framework Security

See Also

Reference

IOleComponentUIManager Interface

IOleComponentUIManager Members

Microsoft.VisualStudio.Shell.Interop Namespace