Share via


FilterInfoBar.AddMessage method (String, Boolean)

Adds a message to the information bar, optionally also showing the Filter icon.

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

Syntax

'Declaration
Public Sub AddMessage ( _
    message As String, _
    showFilterIcon As Boolean _
)
'Usage
Dim instance As FilterInfoBar
Dim message As String
Dim showFilterIcon As Boolean

instance.AddMessage(message, showFilterIcon)
public void AddMessage(
    string message,
    bool showFilterIcon
)

Parameters

  • showFilterIcon
    Type: System.Boolean

    A value that indicates whether to show the filter icon. true indicates that the filter icon is visible; otherwise, false.

Remarks

The text is encoded.

See also

Reference

FilterInfoBar class

FilterInfoBar members

AddMessage overload

Microsoft.SharePoint.WebPartPages namespace