Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
Function SetStatus ( _
pwszStatusText As String, _
dwReserved As UInteger _
) As Integer
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.