SPWorkItem.TextPayload property

Serves as a store for user-defined string data, such as SML, that is associated with a work item.

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

public string TextPayload { get; set; }

Property value

Type: System.String
Returns a string representing content associated with the work item.

Use Unicode characters in your text field, or an encoding that can be translated into and out of Unicode. You cannot convert binary data directly to Unicode, store it as a text paylod, and then retrieve the data reliably. Workflow events often have arbitrary data associated that can use this property as a container.

Show: