Partilhar via


DocumentSetBaseWebPart Class

Provides the base class for the Document Set Web Parts.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      System.Web.UI.WebControls.Panel
        System.Web.UI.WebControls.WebParts.Part
          System.Web.UI.WebControls.WebParts.WebPart
            Microsoft.SharePoint.WebPartPages.WebPart
              Microsoft.Office.Server.WebControls.DocumentSetBaseWebPart
                Microsoft.Office.Server.WebControls.DocumentSetContentsWebPart
                Microsoft.Office.Server.WebControls.DocumentSetPropertiesWebPart

Namespace:  Microsoft.Office.Server.WebControls
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class DocumentSetBaseWebPart _
    Inherits WebPart
'Usage
Dim instance As DocumentSetBaseWebPart
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class DocumentSetBaseWebPart : WebPart

Remarks

This base class provides the access to the Document Set and its parent list. Document Set is a new content type in Microsoft SharePoint 2010. It is a special type of folder that provides specific user interface (UI) and object model (OM) elements to let users manage multiple documents as a single work product.

The Document Set properties are retrieved from the current list item in the HTTP context.

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

DocumentSetBaseWebPart Members

Microsoft.Office.Server.WebControls Namespace