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)

Syntax

'Declaration
Public Property TextPayload As String
    Get
    Set
'Usage
Dim instance As SPWorkItem
Dim value As String

value = instance.TextPayload

instance.TextPayload = value
public string TextPayload { get; set; }

Property value

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

Remarks

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.

See also

Reference

SPWorkItem class

SPWorkItem members

Microsoft.SharePoint namespace