Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets an integer value from the specified string.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Shared Function LookupColumnDataOnlyAsInteger ( _
context As WorkflowContext, _
val As Object _
) As Integer
'Usage
Dim context As WorkflowContext
Dim val As Object
Dim returnValue As Integer
returnValue = Helper.LookupColumnDataOnlyAsInteger(context, _
val)
public static int LookupColumnDataOnlyAsInteger(
WorkflowContext context,
Object val
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA workflow context that contains properties that are associated with the active workflow instance.
val
Type: System.ObjectThe string containing the integer value.
Return Value
Type: System.Int32
The integer data portion of the lookup string.
Remarks
This method throws a CoercionException if val cannot be cast to a String object or is not in the correct format.