MessagePanel.AddMessage Method (MessageKind, Boolean, String, String)
This member is reserved for internal use and is not intended to be used directly from your code.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Sub AddMessage ( _
kind As MessageKind, _
htmlEncode As Boolean, _
shortMsg As String, _
longMsg As String _
)
'Usage
Dim instance As MessagePanel
Dim kind As MessageKind
Dim htmlEncode As Boolean
Dim shortMsg As String
Dim longMsg As String
instance.AddMessage(kind, htmlEncode, _
shortMsg, longMsg)
public void AddMessage(
MessageKind kind,
bool htmlEncode,
string shortMsg,
string longMsg
)
Parameters
- htmlEncode
Type: System.Boolean
- shortMsg
Type: System.String
- longMsg
Type: System.String