SPUtility.CreateNewDiscussion Method

Definition

Overloads

CreateNewDiscussion(SPListItemCollection, String)
CreateNewDiscussion(SPList, String)

CreateNewDiscussion(SPListItemCollection, String)

public:
 static Microsoft::SharePoint::SPListItem ^ CreateNewDiscussion(Microsoft::SharePoint::SPListItemCollection ^ items, System::String ^ title);
public static Microsoft.SharePoint.SPListItem CreateNewDiscussion (Microsoft.SharePoint.SPListItemCollection items, string title);
static member CreateNewDiscussion : Microsoft.SharePoint.SPListItemCollection * string -> Microsoft.SharePoint.SPListItem
Public Shared Function CreateNewDiscussion (items As SPListItemCollection, title As String) As SPListItem

Parameters

title
String

Returns

SPListItem

Applies to

CreateNewDiscussion(SPList, String)

public:
 static Microsoft::SharePoint::SPListItem ^ CreateNewDiscussion(Microsoft::SharePoint::SPList ^ list, System::String ^ title);
[Microsoft.SharePoint.Client.ClientCallable(ClientLibraryTargets=Microsoft.SharePoint.Client.ClientLibraryTargets.NonRESTful)]
public static Microsoft.SharePoint.SPListItem CreateNewDiscussion (Microsoft.SharePoint.SPList list, string title);
static member CreateNewDiscussion : Microsoft.SharePoint.SPList * string -> Microsoft.SharePoint.SPListItem
Public Shared Function CreateNewDiscussion (list As SPList, title As String) As SPListItem

Parameters

list
SPList
title
String

Returns

SPListItem
Attributes
ClientCallableAttribute

Applies to