SPWorkflow.ItemName property

Gets the name of the SPListItem on which the SPWorkflow instance was created.

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

Syntax

'Declaration
Public ReadOnly Property ItemName As String
    Get
'Usage
Dim instance As SPWorkflow
Dim value As String

value = instance.ItemName
public string ItemName { get; }

Property value

Type: System.String
The name of the SPListItem on which the SPWorkflow instance was created, or Empty if the workflow instance was not created for an item.

See also

Reference

SPWorkflow class

SPWorkflow members

Microsoft.SharePoint.Workflow namespace