Partilhar via


Método IOleComponentUIManager.SetStatus (String, UInt32)

 

Publicado: abril de 2016

Especifica a mensagem de texto de status para a barra de status do ambiente.

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

Sintaxe

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

Parâmetros

  • pwszStatusText
    [in] Especifica a mensagem de texto de status para exibir.
  • dwReserved
    [in] Parâmetro de espaço reservado; Este valor é ignorado no momento.

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De oleipc.idl:

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

Consulte também

Interface IOleComponentUIManager
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo