共用方式為


ExcelWebRenderer Class

The feature Excel Web Access is exposed as a Web Part.

This API is not CLS-compliant. 

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.Excel.WebUI.ExcelWebRenderer

Namespace:  Microsoft.Office.Excel.WebUI
Assembly:  Microsoft.Office.Excel.WebUI (in Microsoft.Office.Excel.WebUI.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class ExcelWebRenderer _
    Inherits WebPart _
    Implements IDesignerEventAccessor, IDesignTimeHtmlProvider
'Usage
Dim instance As ExcelWebRenderer
[CLSCompliantAttribute(false)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class ExcelWebRenderer : WebPart, 
    IDesignerEventAccessor, IDesignTimeHtmlProvider

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

ExcelWebRenderer Members

Microsoft.Office.Excel.WebUI Namespace