Share via


ISharePointProjectLogger.WriteLine Method (String, LogCategory, String)

Logs a message to the SharePoint Tools Output window and Error List depending on the specified LogCategory.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

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

Parameters

  • message
    Type: String

    The message text.

  • helpKeyword
    Type: String

    The Help keyword for the error.

.NET Framework Security

See Also

Reference

ISharePointProjectLogger Interface

WriteLine Overload

Microsoft.VisualStudio.SharePoint Namespace