Sdílet prostřednictvím


IOleComponentUIManager.SetStatus – metoda (String, UInt32)

 

Určuje stav textové zprávy pro životní prostředí stavový řádek.

Obor názvů:   Microsoft.VisualStudio.Shell.Interop
Sestavení:  Microsoft.VisualStudio.Shell.Interop (v Microsoft.VisualStudio.Shell.Interop.dll)

Syntaxe

int SetStatus(
    string pwszStatusText,
    uint dwReserved
)
int SetStatus(
    String^ pwszStatusText,
    unsigned int dwReserved
)
abstract SetStatus : 
        pwszStatusText:string *
        dwReserved:uint32 -> int
Function SetStatus (
    pwszStatusText As String,
    dwReserved As UInteger
) As Integer

Parametry

  • pwszStatusText
    [v] Určuje stav textovou zprávu zobrazit.
  • dwReserved
    [v] Zástupný parametr; právě tato hodnota ignorována.

Vrácená hodnota

Type: System.Int32

Pokud metoda uspěje, vrací S_OK.Pokud se nezdaří, vrátí kód chyby.

Poznámky

Podpis COM

Z oleipc.idl:

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

Viz také

IOleComponentUIManager – rozhraní
Microsoft.VisualStudio.Shell.Interop – obor názvů

Zpátky na začátek