Partilhar via


CollectDataTask.ContentTypeId Property

Gets or sets the ID of the content type associated with the task.

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

Syntax

'Declaration
<ValidationOptionAttribute(ValidationOption.Optional)> _
<BrowsableAttribute(True)> _
Public Property ContentTypeId As String
    Get
    Set
'Usage
Dim instance As CollectDataTask
Dim value As String

value = instance.ContentTypeId

instance.ContentTypeId = value
[ValidationOptionAttribute(ValidationOption.Optional)]
[BrowsableAttribute(true)]
public string ContentTypeId { get; set; }

Property Value

Type: System.String
The ID of the content type associated with the task.

See Also

Reference

CollectDataTask Class

CollectDataTask Members

Microsoft.SharePoint.WorkflowActions.WithKey Namespace