Partilhar via


WorkflowCodeTypeReferenceExpression.Validate Method

Verifies that the WorkflowCodeTypeExpression is configured correctly and has no errors.

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

Syntax

'Declaration
Public Function Validate ( _
    validation As RuleValidation, _
    isWritten As Boolean _
) As RuleExpressionInfo
'Usage
Dim instance As WorkflowCodeTypeReferenceExpression
Dim validation As RuleValidation
Dim isWritten As Boolean
Dim returnValue As RuleExpressionInfo

returnValue = instance.Validate(validation, _
    isWritten)
public RuleExpressionInfo Validate(
    RuleValidation validation,
    bool isWritten
)

Parameters

  • isWritten
    Type: System.Boolean

    true if the expression is being written to; false if the expression is not being written to.

Return Value

Type: System.Workflow.Activities.Rules.RuleExpressionInfo
The RuleExpressionInfo for the expression.

Implements

IRuleExpression.Validate(RuleValidation, Boolean)

See Also

Reference

WorkflowCodeTypeReferenceExpression Class

WorkflowCodeTypeReferenceExpression Members

Microsoft.SharePoint.WorkflowActions Namespace