共用方式為


SPListItem.ModerationInformation property

會取得內容核准的項目,包括 [狀態] 和 [註解的資訊。

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

Syntax

'宣告
Public ReadOnly Property ModerationInformation As SPModerationInformation
    Get
'用途
Dim instance As SPListItem
Dim value As SPModerationInformation

value = instance.ModerationInformation
public SPModerationInformation ModerationInformation { get; }

Property value

Type: Microsoft.SharePoint.SPModerationInformation
物件,其中包含的資訊。如果沒有內容核准的資訊,會傳回a null reference (Nothing in Visual Basic) 。

請參閱

參照

SPListItem class

SPListItem members

Microsoft.SharePoint namespace