Partilhar via


SPPageStatusSetter.AddStatus Method (String, String, SPPageStatusColor)

Adds the specified status message with the prescribed priority to the page.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub AddStatus ( _
    title As String, _
    html As String, _
    color As SPPageStatusColor _
)
'Usage
Dim instance As SPPageStatusSetter
Dim title As String
Dim html As String
Dim color As SPPageStatusColor

instance.AddStatus(title, html, color)
public void AddStatus(
    string title,
    string html,
    SPPageStatusColor color
)

Parameters

See Also

Reference

SPPageStatusSetter Class

SPPageStatusSetter Members

AddStatus Overload

Microsoft.SharePoint.WebControls Namespace