共用方式為


SetModerationStatusActivity.__Context Property

Gets or sets the [WorkflowContext] from which the __ContextProperty property can expose information about the active workflow instance to the workflow runtime.

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

Syntax

'Declaration
<ValidationOptionAttribute(ValidationOption.Required)> _
<BrowsableAttribute(True)> _
Public Property __Context As WorkflowContext
    Get
    Set
'Usage
Dim instance As SetModerationStatusActivity
Dim value As WorkflowContext

value = instance.__Context

instance.__Context = value
[ValidationOptionAttribute(ValidationOption.Required)]
[BrowsableAttribute(true)]
public WorkflowContext __Context { get; set; }

Property Value

Type: Microsoft.SharePoint.WorkflowActions.WorkflowContext
Returns WorkflowContext.

See Also

Reference

SetModerationStatusActivity Class

SetModerationStatusActivity Members

Microsoft.SharePoint.WorkflowActions.WithKey Namespace