Compartir a través de


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

Public Property TextPayload As String
    Get
    Set

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