共用方式為


Microsoft.SharePoint.WorkflowActions.WithKey Namespace

Provides workflow activities a means to reference list items by the SPItemKey.

The Microsoft.SharePoint.WorkflowActions.WithKey namespace has been added for use by workflows in Microsoft SharePoint Foundation 2010, to accommodate the introduction of virtual lists. Virtual lists use a new item identifier based on a string data type. This differs from the use of an integer based item identifier in Windows SharePoint Services 3.0. In order to provide backwards-compatibility and allow future changes to item identifier types, the SPItemKey has been added. Each workflow activity that contained an input parameter or returned a value of an Int32 datatype will now use the SPItemKey instead.

Classes

  Class Description
Public class AddListItemPermissionsActivity Defines a workflow activity that is used to add the specified role permissions to the item in the list for the specified users.
Public class AddListItemPermissionsActivityValidator Provides the AddListItemPermissionsActivity class with a validator that can be used to check for and prevent invalid input values and also to prevent potential unhandled exceptions.
Public class CheckInItemActivity Checks in a specified list item and furnishes comments.
Public class CheckInItemActivityValidator Provides the CheckInItemActivity class with a validator that can be used to check for and prevent invalid input values and also to prevent potential unhandled exceptions.
Public class CheckOutItemActivity Checks out a specified list item.
Public class CheckOutItemActivityValidator Provides the CheckOutItemActivityValidator class with a validator that can be used to check for and prevent invalid input values and also to prevent potential unhandled exceptions.
Public class CollectDataTask Defines a workflow activity that is used to create a task and assigns it to a specified user.
Public class CopyItemActivity Copies a specified list item from one list to another.
Public class CopyItemActivityValidator Provides the CopyItemActivity class with a validator that can be used to check for and prevent invalid input values and also to prevent potential unhandled exceptions.
Public class CreateItemActivity Defines a workflow activity that is used to create a new item in the specified list or document library.
Public class CreateItemActivityValidator Provides the CreateItemActivity class with a validator that can be used to check for and prevent invalid input values and also to prevent potential unhandled exceptions.
Public class DeleteItemActivity Deletes a specified list item.
Public class DeleteItemActivityValidator Provides the DeleteItemActivity
Public class FindActivity Defines a workflow activity that is used to find an item in a list.
Public class FindActivityValidator Provides the FindActivityValidator class with a validator that can be used to check for and prevent invalid input values and also to prevent potential unhandled exceptions.
Public class FindValueActivity Defines a workflow activity that is used to find a list item containing a specified value.
Public class FindValueActivityValidator Provides the FindValueActivity class with a validator that can be used to check for and prevent invalid input values and also to prevent potential unhandled exceptions.
Public class InheritListItemParentPermissionsActivity Provides a means to propagate list item permissions from the parent to the specified list item.
Public class InheritListItemPermissionsActivityValidator Provides the InheritListItemPermissionsActivity class with a validator that can be used to check for and prevent invalid input values and also to prevent potential unhandled exceptions.
Public class LookupActivity Looks up data from a Microsoft SharePoint Foundation 2010 list, based on the specified parameters.
Public class LookupActivityValidator Provides the LookupActivity class with a validator that can be used to check for and prevent invalid input values and also to prevent potential unhandled exceptions.
Public class RemoveListItemPermissionsActivity Removes permissions on a Microsoft SharePoint Foundation 2010 for a specified user and role.
Public class RemoveListItemPermissionsActivityValidator Provides the RemoveListItemPermissionsActivity class with a validator that can be used to check for and prevent invalid input values and also to prevent potential unhandled exceptions.
Public class ReplaceListItemPermissionsActivity Replaces permissions on a Microsoft SharePoint Foundation 2010 for a specified user and role.
Public class ReplaceListItemPermissionsActivityValidator Provides the ReplaceListItemPermissionsActivity class with a validator that can be used to check for and prevent invalid input values and also to prevent potential unhandled exceptions.
Public class SetFieldActivity Sets a Microsoft SharePoint Foundation 2010 list item field to a specified value.
Public class SetFieldActivityValidator Provides the SetFieldActivityValidator class with a validator that can be used to check for and prevent invalid input values and also to prevent potential unhandled exceptions.
Public class SetModerationStatusActivity Defines a workflow activity that is used to set the moderation status of a list item.
Public class SubmitFileActivity Submits a file to the specified Microsoft SharePoint Foundation 2010 document library.
Public class UndoCheckOutItemActivity Performs an undo checkout on a specified Microsoft SharePoint Foundation 2010 list item.
Public class UndoCheckOutItemActivityValidator Provides the UndoCheckOutItemActivity class with a validator that can be used to check for and prevent invalid input values and also to prevent potential unhandled exceptions.
Public class UpdateItemActivity Updates one or more properties on a specified Microsoft SharePoint Foundation 2010 list item.
Public class UpdateItemActivityValidator Provides the UpdateItemActivity class with a validator that can be used to check for and prevent invalid input values and also to prevent potential unhandled exceptions.
Public class WaitForActivity Pauses the workflow until the SharePoint Foundation 2010 list field equals the specified value.
Public class WaitForDocumentStatusActivity Defines a workflow activity that is used to pause the workflow until a specified document is in a specified status.