共用方式為


SPUtility.CreateNewDiscussionReply method

會建立新SPListItem代表討論區中的另一個項目回覆。

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

Syntax

'宣告
Public Shared Function CreateNewDiscussionReply ( _
    parent As SPListItem _
) As SPListItem
'用途
Dim parent As SPListItem
Dim returnValue As SPListItem

returnValue = SPUtility.CreateNewDiscussionReply(parent)
public static SPListItem CreateNewDiscussionReply(
    SPListItem parent
)

參數

傳回值

Type: Microsoft.SharePoint.SPListItem
新的項目,代表回覆。

備註

新的項目新增至集合中的上層清單項目ListItems屬性。

請參閱

參照

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace