共用方式為


SPRibbon Class

Represents a ribbon control on a page.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.Web.CommandUI.Ribbon
        Microsoft.SharePoint.WebControls.SPRibbon

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPRibbon _
    Inherits Ribbon
'Usage
Dim instance As SPRibbon
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPRibbon : Ribbon

Remarks

This control renders a Microsoft SharePoint Foundation ribbon on a page.

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

SPRibbon Members

Microsoft.SharePoint.WebControls Namespace