共用方式為


SPUtility.CreateNewDiscussion method (SPList, String)

會建立新SPListItem代表指定之清單中的討論。

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Shared Function CreateNewDiscussion ( _
    list As SPList, _
    title As String _
) As SPListItem
'用途
Dim list As SPList
Dim title As String
Dim returnValue As SPListItem

returnValue = SPUtility.CreateNewDiscussion(list, _
    title)
public static SPListItem CreateNewDiscussion(
    SPList list,
    string title
)

參數

傳回值

Type: Microsoft.SharePoint.SPListItem
代表新的討論區清單項目。

請參閱

參照

SPUtility class

SPUtility members

CreateNewDiscussion overload

Microsoft.SharePoint.Utilities namespace