次の方法で共有


SPUtility.CreateNewDiscussion method (SPList, String)

Creates a new SPListItem representing a discussion in a specified list.

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

Syntax

'Declaration
Public Shared Function CreateNewDiscussion ( _
    list As SPList, _
    title As String _
) As SPListItem
'Usage
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
)

Parameters

Return value

Type: Microsoft.SharePoint.SPListItem
A list item that represents the new discussion.

See also

Reference

SPUtility class

SPUtility members

CreateNewDiscussion overload

Microsoft.SharePoint.Utilities namespace