Utility.CreateNewDiscussion Method
Namespace: Microsoft.SharePoint.Client.Utilities
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Shared Function CreateNewDiscussion ( _
Context As ClientRuntimeContext, _
list As List, _
title As String _
) As ListItem
'Usage
Dim Context As ClientRuntimeContext
Dim list As List
Dim title As String
Dim returnValue As ListItem
returnValue = Utility.CreateNewDiscussion(Context, _
list, title)
[RemoteAttribute]
public static ListItem CreateNewDiscussion(
ClientRuntimeContext Context,
List list,
string title
)
Parameters
- Context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
- list
Type: Microsoft.SharePoint.Client.List
- title
Type: System.String
Return Value
Type: Microsoft.SharePoint.Client.ListItem
Returns ListItem