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
title
Type: System.StringThe title of the status message.
html
Type: System.StringThe contents of the status message.
color
Type: Microsoft.SharePoint.WebControls.SPPageStatusColorThe SPPageStatusColor that defines the priority of the message.