共用方式為


ISharePointCommandLogger.WriteLine 方法 (String, LogCategory)

使用指定的分類,將訊息寫入 [輸出] 視窗或 [錯誤清單] 視窗中。

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

語法

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

參數

.NET Framework 安全性

請參閱

參考

ISharePointCommandLogger 介面

WriteLine 多載

Microsoft.VisualStudio.SharePoint.Commands 命名空間