共用方式為


ISharePointProjectLogger.WriteLine 方法 (String, LogCategory, String)

根據指定的 LogCategory,將訊息記錄到 SharePoint [工具] 的 [輸出] 視窗和 [錯誤清單] 中。

命名空間:  Microsoft.VisualStudio.SharePoint
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
Sub WriteLine ( _
    message As String, _
    category As LogCategory, _
    helpKeyword As String _
)
void WriteLine(
    string message,
    LogCategory category,
    string helpKeyword
)

參數

.NET Framework 安全性

請參閱

參考

ISharePointProjectLogger 介面

WriteLine 多載

Microsoft.VisualStudio.SharePoint 命名空間