ExtractSubstringFromIndexActivity.Execute Method
Extracts a substring from a specified string at a given index.
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
provider
Type: System.Workflow.ComponentModel.ActivityExecutionContextThe context that is associated with the activity.
Return Value
Type: System.Workflow.ComponentModel.ActivityExecutionStatus
The status of the activity.
Remarks
The workflow runtime calls this override to extract a substring from the string specified by the StringVal property at the index specified by the Index property. It saves the resulting substring in the SubstringVariable property. It always returns Closed.
See Also
Reference
ExtractSubstringFromIndexActivity Class