共用方式為


SetFieldActivity Members

Include Protected Members
Include Inherited Members

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

The SetFieldActivity type exposes the following members.

Constructors

  Name Description
Public method SetFieldActivity Initializes a new instance of the SetFieldActivity class.

Top

Properties

  Name Description
Public property __Context Gets or sets the [WorkflowContext] from which the __ContextProperty property can expose information about the active workflow instance to the workflow runtime.
Public property __ListId The ID of the SharePoint Foundation 2010 list on which the item resides.
Public property __ListItem The specified SharePoint Foundation 2010 list item on the designated list.
Public property Description (Inherited from Activity.)
Protected property DesignMode (Inherited from DependencyObject.)
Public property Enabled (Inherited from Activity.)
Public property ExecutionResult (Inherited from Activity.)
Public property ExecutionStatus (Inherited from Activity.)
Public property FieldName The name of the list item field to update.
Public property IsDynamicActivity (Inherited from Activity.)
Public property Name (Inherited from Activity.)
Public property Parent (Inherited from Activity.)
Protected property ParentDependencyObject (Inherited from DependencyObject.)
Public property QualifiedName (Inherited from Activity.)
Public property Site (Inherited from DependencyObject.)
Public property UserData (Inherited from DependencyObject.)
Public property Value The value to update the list item field with.
Protected property WorkflowInstanceId (Inherited from Activity.)

Top

Methods

  Name Description
Public method AddHandler (Inherited from DependencyObject.)
Protected method Cancel (Inherited from Activity.)
Public method Clone (Inherited from Activity.)
Public method Dispose() (Inherited from DependencyObject.)
Protected method Dispose(Boolean) (Inherited from DependencyObject.)
Protected method DoUpdate Performs the update to the specified list item field. (Overrides WaitForDocumentUnlockActivity.DoUpdate(ActivityExecutionContext).)
Public method Equals (Inherited from Object.)
Protected method Execute Called by the workflow runtime to execute the activity. (Overrides WaitForDocumentUnlockActivity.Execute(ActivityExecutionContext).)
Protected method Finalize (Inherited from DependencyObject.)
Public method GetActivityByName(String) (Inherited from Activity.)
Public method GetActivityByName(String, Boolean) (Inherited from Activity.)
Public method GetBinding (Inherited from DependencyObject.)
Protected method GetBoundValue (Inherited from DependencyObject.)
Public method GetHashCode (Inherited from Object.)
Protected method GetInvocationList<T> (Inherited from DependencyObject.)
Public method GetType (Inherited from Object.)
Public method GetValue (Inherited from DependencyObject.)
Public method GetValueBase (Inherited from DependencyObject.)
Protected method HandleFault (Inherited from Activity.)
Protected method Initialize(IServiceProvider) (Inherited from Activity.)
Public method Initialize(WorkflowContext, Guid, SPItemKey) Initializes the values of the WaitForDocumentUnlockActivity object. (Inherited from WaitForDocumentUnlockActivity.)
Protected method InitializeProperties (Inherited from DependencyObject.)
Protected method Invoke<T>(EventHandler<T>, T) (Inherited from Activity.)
Protected method Invoke<T>(IActivityEventListener<T>, T) (Inherited from Activity.)
Public method IsBindingSet (Inherited from DependencyObject.)
Protected method IsDocumentLocked Determines whether a document is locked. (Inherited from WaitForDocumentUnlockActivity.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MetaEquals (Inherited from DependencyObject.)
Protected method OnActivityExecutionContextLoad (Inherited from Activity.)
Protected method OnActivityExecutionContextUnload (Inherited from Activity.)
Protected method OnClosed (Inherited from Activity.)
Protected method RaiseEvent (Inherited from Activity.)
Protected method RaiseGenericEvent<T> (Inherited from Activity.)
Public method RegisterForStatusChange (Inherited from Activity.)
Public method RemoveHandler (Inherited from DependencyObject.)
Public method RemoveProperty (Inherited from DependencyObject.)
Public method Save(Stream) (Inherited from Activity.)
Public method Save(Stream, IFormatter) (Inherited from Activity.)
Public method SetBinding (Inherited from DependencyObject.)
Protected method SetBoundValue (Inherited from DependencyObject.)
Protected method SetReadOnlyPropertyValue (Inherited from DependencyObject.)
Public method SetValue (Inherited from DependencyObject.)
Public method SetValueBase (Inherited from DependencyObject.)
Public method ToString (Inherited from Activity.)
Protected method TrackData(Object) (Inherited from Activity.)
Protected method TrackData(String, Object) (Inherited from Activity.)
Protected method Uninitialize (Inherited from Activity.)
Public method UnregisterForStatusChange (Inherited from Activity.)

Top

Events

  Name Description
Public event Canceling (Inherited from Activity.)
Public event Closed (Inherited from Activity.)
Public event Compensating (Inherited from Activity.)
Public event Executing (Inherited from Activity.)
Public event Faulting (Inherited from Activity.)
Public event StatusChanged (Inherited from Activity.)

Top

Fields

  Name Description
Public fieldStatic member __ContextProperty The DependencyProperty object that promotes the __Context property for use by the workflow runtime.
Public fieldStatic member __ListIdProperty The DependencyProperty object that promotes the ListId() property for use by the workflow runtime.
Public fieldStatic member __ListItemProperty The DependencyProperty object that promotes the ListItem() property for use by the workflow runtime.
Public fieldStatic member FieldNameProperty The DependencyProperty object that promotes the FieldName property for use by the workflow runtime.
Public fieldStatic member ValueProperty The DependencyProperty object that promotes the Value property for use by the workflow runtime.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IActivityEventListener<QueueEventArgs>.OnEvent Called when the event to which this WaitForDocumentUnlockActivity instance is subscribed occurs. (Inherited from WaitForDocumentUnlockActivity.)
Explicit interface implemetationPrivate event IComponent.Disposed (Inherited from DependencyObject.)

Top

See Also

Reference

SetFieldActivity Class

Microsoft.SharePoint.WorkflowActions.WithKey Namespace