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 the value of the specified field in the specified hash table.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Shared Function HTLookupBool ( _
context As WorkflowContext, _
collection As Hashtable, _
fieldName As String _
) As Boolean
'Usage
Dim context As WorkflowContext
Dim collection As Hashtable
Dim fieldName As String
Dim returnValue As Boolean
returnValue = Helper.HTLookupBool(context, _
collection, fieldName)
public static bool HTLookupBool(
WorkflowContext context,
Hashtable collection,
string fieldName
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA workflow context that contains properties that are associated with the active workflow instance.
collection
Type: System.Collections.HashtableThe hash table to search.
fieldName
Type: System.StringThe name of the field to look up in the collection.
Return Value
Type: System.Boolean
The value of the specified field in the specified hash table..
Remarks
This method returns false if the value of the field is null or not a Boolean object or not a value that can be converted to a Boolean object; otherwise, it returns the value of the field in the hash table.