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)

public void EnsureWorkflowInformation()

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