共用方式為


DisposableListItemWrapper Class

The members of this namespace or class are reserved for internal use and are not intended to be used directly from your code.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Publishing.ListItemWrapper
    Microsoft.SharePoint.Publishing.DisposableListItemWrapper
      Microsoft.SharePoint.Publishing.Administration.ContentDeploymentJob
      Microsoft.SharePoint.Publishing.Administration.ContentDeploymentPath
      Microsoft.SharePoint.Publishing.Administration.JobReportBase

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class DisposableListItemWrapper _
    Inherits ListItemWrapper _
    Implements IDisposable
'Usage
Dim instance As DisposableListItemWrapper
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class DisposableListItemWrapper : ListItemWrapper, 
    IDisposable

Remarks

Interface for a disposable SharePoint Publishing object that wraps an SPListItem.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DisposableListItemWrapper Members

Microsoft.SharePoint.Publishing Namespace