CollectSignatures.IsChangeAllowed Method
Namespace: Microsoft.Office.Workflow
Assembly: Microsoft.Office.Workflow.Routing (in Microsoft.Office.Workflow.Routing.dll)
Syntax
'Declaration
Public Function IsChangeAllowed ( _
sender As Object, _
taskId As Guid, _
beforeProperties As SPWorkflowTaskProperties, _
afterProperties As SPWorkflowTaskProperties, _
executor As String, _
<OutAttribute> ByRef reason As String _
) As Boolean
'Usage
Dim instance As CollectSignatures
Dim sender As Object
Dim taskId As Guid
Dim beforeProperties As SPWorkflowTaskProperties
Dim afterProperties As SPWorkflowTaskProperties
Dim executor As String
Dim reason As String
Dim returnValue As Boolean
returnValue = instance.IsChangeAllowed(sender, _
taskId, beforeProperties, afterProperties, _
executor, reason)
public bool IsChangeAllowed(
Object sender,
Guid taskId,
SPWorkflowTaskProperties beforeProperties,
SPWorkflowTaskProperties afterProperties,
string executor,
out string reason
)
Parameters
- sender
Type: System.Object
- taskId
Type: System.Guid
- beforeProperties
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties
- afterProperties
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties
- executor
Type: System.String
- reason
Type: System.String
Return Value
Type: System.Boolean
Returns Boolean.