共用方式為


CreateTaskWithContentType.TaskId Property

Gets or sets the TaskId of the task list item that is being created.

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

Syntax

'Declaration
<ValidationOptionAttribute(ValidationOption.Required)> _
Public Property TaskId As Guid
    Get
    Set
'Usage
Dim instance As CreateTaskWithContentType
Dim value As Guid

value = instance.TaskId

instance.TaskId = value
[ValidationOptionAttribute(ValidationOption.Required)]
public Guid TaskId { get; set; }

Property Value

Type: System.Guid
The GUID of the newly created task list item.

Remarks

This property is promoted through a DependencyProperty property.

See Also

Reference

CreateTaskWithContentType Class

CreateTaskWithContentType Members

Microsoft.SharePoint.WorkflowActions Namespace