Share via


Gantt Constructor

This member is reserved for internal use and is not intended to be used directly from your code.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub New ( _
    ID As String, _
    dataSourceList As SPList, _
    dataSourceView As SPView, _
    taskTitleColumnName As String, _
    startDateColumnName As String, _
    finishDateColumnName As String, _
    percentCompleteColumnName As String _
)
'Usage
Dim ID As String
Dim dataSourceList As SPList
Dim dataSourceView As SPView
Dim taskTitleColumnName As String
Dim startDateColumnName As String
Dim finishDateColumnName As String
Dim percentCompleteColumnName As String

Dim instance As New Gantt(ID, dataSourceList, _
    dataSourceView, taskTitleColumnName, _
    startDateColumnName, finishDateColumnName, _
    percentCompleteColumnName)
public Gantt(
    string ID,
    SPList dataSourceList,
    SPView dataSourceView,
    string taskTitleColumnName,
    string startDateColumnName,
    string finishDateColumnName,
    string percentCompleteColumnName
)

Parameters

See Also

Reference

Gantt Class

Gantt Members

Microsoft.SharePoint.WebControls Namespace