共用方式為


SetVariableActivity Members

Include Protected Members
Include Inherited Members

Defines a workflow activity that is used to set a workflow variable to a value.

The SetVariableActivity type exposes the following members.

Constructors

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

Top

Properties

  Name Description
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 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 Gets or sets the value to which the workflow variable is set.
Public property ValueType Gets or sets the type of the value of the workflow variable.
Public property Variable Gets or sets the workflow variable set by this activity.
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.)
Public method Equals (Inherited from Object.)
Protected method Execute Sets a workflow variable to a value. (Overrides Activity.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 (Inherited from Activity.)
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 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 ValueProperty Represents the Value that the class promotes for use by the workflow runtime.
Public fieldStatic member VariableProperty Represents the Variable that the class promotes for use by the workflow runtime.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate event IComponent.Disposed (Inherited from DependencyObject.)

Top

See Also

Reference

SetVariableActivity Class

Microsoft.SharePoint.WorkflowActions Namespace