Share via


SPWorkflowAssociation.ParentContentType Property

Gets the parent content type on which the workflow association resides.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property ParentContentType As SPContentType
    Get
'Usage
Dim instance As SPWorkflowAssociation
Dim value As SPContentType

value = instance.ParentContentType
public SPContentType ParentContentType { get; }

Property Value

Type: Microsoft.SharePoint.SPContentType
The parent content type.

See Also

Reference

SPWorkflowAssociation Class

SPWorkflowAssociation Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation