OfficeTask.ContentTypeId-Eigenschaft
Gibt den Wert der Eigenschaft ContentTypeId des Vorgangs.
Namespace: Microsoft.Office.Workflow.Actions
Assembly: Microsoft.Office.Workflow.Actions (in Microsoft.Office.Workflow.Actions.dll)
Syntax
'Declaration
<ValidationOptionAttribute(ValidationOption.Optional)> _
Public Property ContentTypeId As String
Get
Set
'Usage
Dim instance As OfficeTask
Dim value As String
value = instance.ContentTypeId
instance.ContentTypeId = value
[ValidationOptionAttribute(ValidationOption.Optional)]
public string ContentTypeId { get; set; }
Eigenschaftswert
Typ: System.String
Die Content-ID.
Hinweise
Wenn diese Eigenschaft nicht null oder leer ist, wird der Prozess der Aufgabe Aufgaben dieses Inhaltstyps erstellt. Dieses Inhaltstyps oder untergeordneten Inhaltstyp muss in der Aufgabenliste des Workflows vorhanden sein. Wenn nicht festgelegt, der Workflow den Wert der SPWorkflowAssociation.TaskListContentTypeId -Eigenschaft verwendet wird.