SPListItem.EnsureWorkflowInformation Method

Checks the item's workflow information and, if necessary, updates it to ensure that the most current information is used.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Sub EnsureWorkflowInformation
'Usage
Dim instance As SPListItem

instance.EnsureWorkflowInformation()
public void EnsureWorkflowInformation()

Remarks

This method calls the EnsureWorkflowInformation(Boolean, Boolean) method with both parameters set to true to ensure the most current workflow information is used.

See Also

Reference

SPListItem Class

SPListItem Members

EnsureWorkflowInformation Overload

Microsoft.SharePoint Namespace