IVsOutputWindowPane.OutputTaskItemStringEx(String, VSTASKPRIORITY, VSTASKCATEGORY, String, Int32, String, UInt32, String, String) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Adiciona uma cadeia de caracteres à janela de saída e um item correspondente à lista de tarefas.
public:
int OutputTaskItemStringEx(System::String ^ pszOutputString, Microsoft::VisualStudio::Shell::Interop::VSTASKPRIORITY nPriority, Microsoft::VisualStudio::Shell::Interop::VSTASKCATEGORY nCategory, System::String ^ pszSubcategory, int nBitmap, System::String ^ pszFilename, System::UInt32 nLineNum, System::String ^ pszTaskItemText, System::String ^ pszLookupKwd);
public:
int OutputTaskItemStringEx(Platform::String ^ pszOutputString, Microsoft::VisualStudio::Shell::Interop::VSTASKPRIORITY nPriority, Microsoft::VisualStudio::Shell::Interop::VSTASKCATEGORY nCategory, Platform::String ^ pszSubcategory, int nBitmap, Platform::String ^ pszFilename, unsigned int nLineNum, Platform::String ^ pszTaskItemText, Platform::String ^ pszLookupKwd);
int OutputTaskItemStringEx(std::wstring const & pszOutputString, Microsoft::VisualStudio::Shell::Interop::VSTASKPRIORITY nPriority, Microsoft::VisualStudio::Shell::Interop::VSTASKCATEGORY nCategory, std::wstring const & pszSubcategory, int nBitmap, std::wstring const & pszFilename, unsigned int nLineNum, std::wstring const & pszTaskItemText, std::wstring const & pszLookupKwd);
public int OutputTaskItemStringEx (string pszOutputString, Microsoft.VisualStudio.Shell.Interop.VSTASKPRIORITY nPriority, Microsoft.VisualStudio.Shell.Interop.VSTASKCATEGORY nCategory, string pszSubcategory, int nBitmap, string pszFilename, uint nLineNum, string pszTaskItemText, string pszLookupKwd);
abstract member OutputTaskItemStringEx : string * Microsoft.VisualStudio.Shell.Interop.VSTASKPRIORITY * Microsoft.VisualStudio.Shell.Interop.VSTASKCATEGORY * string * int * string * uint32 * string * string -> int
Public Function OutputTaskItemStringEx (pszOutputString As String, nPriority As VSTASKPRIORITY, nCategory As VSTASKCATEGORY, pszSubcategory As String, nBitmap As Integer, pszFilename As String, nLineNum As UInteger, pszTaskItemText As String, pszLookupKwd As String) As Integer
Parâmetros
- pszOutputString
- String
no Cadeia de caracteres de saída do item de tarefa.
- nPriority
- VSTASKPRIORITY
no Prioridade do item de tarefa cujos valores são extraídos da VSTASKPRIORITY enumeração.
- nCategory
- VSTASKCATEGORY
no Categoria do item de tarefa cujos valores são obtidos da VSTASKCATEGORY enumeração.
- pszSubcategory
- String
no Subcategoria da tarefa.
- nBitmap
- Int32
no Bitmap do item de tarefa cujos valores são extraídos da _vstaskbitmap enumeração.
- pszFilename
- String
no Nome do arquivo que contém pszOutputString .
- nLineNum
- UInt32
no Número de linha dentro pszFilename de pszOutputString .
- pszTaskItemText
- String
no Texto do item de tarefa.
- pszLookupKwd
- String
no Palavra-chave Lookup para a funcionalidade F1.
Retornos
Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.
Comentários
Assinatura COM
De VSShell. idl:
HRESULT IVsOutputWindowPane::OutputTaskItemStringEx(
[in] LPCOLESTR pszOutputString,
[in] VSTASKPRIORITY nPriority,
[in] VSTASKCATEGORY nCategory,
[in] LPCOLESTR pszSubcategory,
[in] VSTASKBITMAP nBitmap,
[in] LPCOLESTR pszFilename,
[in] ULONG nLineNum,
[in] LPCOLESTR pszTaskItemText,
[in] LPCOLESTR pszLookupKwd
);
Esta é uma versão estendida do OutputTaskItemString .