Partilhar via


Helper.NoteAsPlainText Method

Converts rich text to plain text.

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

Syntax

'Declaration
Public Shared Function NoteAsPlainText ( _
    context As WorkflowContext, _
    val As Object _
) As String
'Usage
Dim context As WorkflowContext
Dim val As Object
Dim returnValue As String

returnValue = Helper.NoteAsPlainText(context, _
    val)
public static string NoteAsPlainText(
    WorkflowContext context,
    Object val
)

Parameters

Return Value

Type: System.String
The plain text.

Remarks

This method returns empty string if val is null or cannot be cast to a String object.

See Also

Reference

Helper Class

Helper Members

Microsoft.SharePoint.WorkflowActions Namespace