Partilhar via


CreateItemActivity Class

Defines a workflow activity that is used to create a new item in the specified list or document library.

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      Microsoft.SharePoint.WorkflowActions.WithKey.CreateItemActivity

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

Syntax

'Declaration
<ActivityValidatorAttribute(GetType(CreateItemActivityValidator))> _
<ToolboxBitmapAttribute(GetType(CreateItemActivity), "Resources.CreateItemActivity.bmp")> _
<ActivityToolboxDisplayAttribute("VSTTSharePointItem", True)> _
Public Class CreateItemActivity _
    Inherits Activity
'Usage
Dim instance As CreateItemActivity
[ActivityValidatorAttribute(typeof(CreateItemActivityValidator))]
[ToolboxBitmapAttribute(typeof(CreateItemActivity), "Resources.CreateItemActivity.bmp")]
[ActivityToolboxDisplayAttribute("VSTTSharePointItem", true)]
public class CreateItemActivity : Activity

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CreateItemActivity Members

Microsoft.SharePoint.WorkflowActions.WithKey Namespace