IVsOutputWindowPane.OutputTaskItemStringEx Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Çıkış penceresine ve buna karşılık gelen bir öğeye bir dize ekler.
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
Parametreler
- pszOutputString
- String
'ndaki Görev öğesinin çıkış dizesi.
- nPriority
- VSTASKPRIORITY
'ndaki Değerlerinin numaralandırmasından alındığı görev öğesinin önceliği VSTASKPRIORITY .
- nCategory
- VSTASKCATEGORY
'ndaki Değerlerinin numaralandırmasından alındığı görev öğesinin kategorisi VSTASKCATEGORY .
- pszSubcategory
- String
'ndaki Görevin alt kategorisi.
- nBitmap
- Int32
'ndaki Değerlerinin numaralandırmasından alındığı görev öğesinin bit eşlemi _vstaskbitmap .
- pszFilename
- String
'ndaki İçeren dosyanın adı pszOutputString .
- nLineNum
- UInt32
'ndaki İçindeki satır numarası pszFilename pszOutputString .
- pszTaskItemText
- String
'ndaki Görev öğesinin metni.
- pszLookupKwd
- String
'ndaki F1 işlevselliği için arama anahtar sözcüğü.
Döndürülenler
Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.
Açıklamalar
COM Imzası
Vsshell. IDL dosyasından:
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
);
Bu genişletilmiş bir sürümüdür OutputTaskItemString .