Condividi tramite


DocSetControl Class

Provides the base class for the Document Set controls.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.Office.Server.WebControls.DocSetControl
        Microsoft.Office.Server.WebControls.DocSetRibbonActions
        Microsoft.Office.Server.WebControls.DocSetWelcomePageControl

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

Syntax

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

Remarks

This base class provides access to the Document Set, its container folder and its parent list. These properties can be retrieved from the context of the current SPContext object. Document Set, a new content type in Microsoft SharePoint 2010, is a special type of folder that provides specific interface (UI) and object model (OM) elements to let users manage multiple documents as single work products.

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

DocSetControl Members

Microsoft.Office.Server.WebControls Namespace