HTLookupActivity.Execute Method

Searches for a value in a hash table.

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

Syntax

'Declaration
Protected Overrides Function Execute ( _
    provider As ActivityExecutionContext _
) As ActivityExecutionStatus
'Usage
Dim provider As ActivityExecutionContext
Dim returnValue As ActivityExecutionStatus

returnValue = Me.Execute(provider)
protected override ActivityExecutionStatus Execute(
    ActivityExecutionContext provider
)

Parameters

Return Value

Type: System.Workflow.ComponentModel.ActivityExecutionStatus
The status of the activity.

Remarks

The workflow runtime calls this override to search for a value in a hash table.

This override uses the function specified by the LookupFunction property to search the hash table specified by the Collection property for a value for the field with the name specified by the FieldName property. If it finds a value for that entry, it sets the ReturnValue property to that value.

This override always returns Closed.

See Also

Reference

HTLookupActivity Class

HTLookupActivity Members

Microsoft.SharePoint.WorkflowActions Namespace