Compartilhar via


SetFieldActivity Class

Sets a Microsoft SharePoint Foundation 2010 list item field to a specified value.

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      Microsoft.SharePoint.WorkflowActions.WaitForDocumentUnlockActivity
        Microsoft.SharePoint.WorkflowActions.WithKey.SetFieldActivity

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

Syntax

'Declaration
<ToolboxBitmapAttribute(GetType(SetFieldActivity), "Resources.SetFieldActivity.bmp")> _
<ActivityValidatorAttribute(GetType(SetFieldActivityValidator))> _
<ActivityToolboxDisplayAttribute("VSTTSharePointItem", False)> _
Public Class SetFieldActivity _
    Inherits WaitForDocumentUnlockActivity
'Usage
Dim instance As SetFieldActivity
[ToolboxBitmapAttribute(typeof(SetFieldActivity), "Resources.SetFieldActivity.bmp")]
[ActivityValidatorAttribute(typeof(SetFieldActivityValidator))]
[ActivityToolboxDisplayAttribute("VSTTSharePointItem", false)]
public class SetFieldActivity : WaitForDocumentUnlockActivity

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

SetFieldActivity Members

Microsoft.SharePoint.WorkflowActions.WithKey Namespace