Compartilhar via


WorkflowContext.AutoStartCreate Property

Gets a value that indicates whether the workflow is started when an item is created.

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

Syntax

'Declaration
Public ReadOnly Property AutoStartCreate As Boolean
    Get
'Usage
Dim instance As WorkflowContext
Dim value As Boolean

value = instance.AutoStartCreate
public bool AutoStartCreate { get; }

Property Value

Type: System.Boolean
true if the workflow is started when an item is created; otherwise, false.

See Also

Reference

WorkflowContext Class

WorkflowContext Members

Microsoft.SharePoint.WorkflowActions Namespace