Export (0) Print
Expand All

SPFieldWorkflowStatus Constructor

Initializes a new instance of the SPFieldWorkflowStatus class.

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

public SPFieldWorkflowStatus(
	SPFieldCollection fields,
	string typeName,
	string displayName


Type: Microsoft.SharePoint.SPFieldCollection
The field collection to which this field belongs.
Type: System.String
The name of the field type. The name can be a string representation of an SPFieldType value, such as the value that is returned by the SPFieldType.WorkflowStatus.ToString method.
Type: System.String
The value assigned to the Title property of the SPFieldWorkflowStatus object.

Use this constructor to create an SPFieldWorkflowStatus object before adding it to the collection in the Fields property of a list or content type. After adding a new field to a collection, call the Init(String, String) method to initialize the field.

Community Additions

© 2014 Microsoft