共用方式為


PageViewerWebPart class

顯示連結 Web 網頁、 資料夾或檔案的內容。此 Web 組件呈現為IFRAME項目內的內容。

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.SharePoint.WebPartPages.PageViewerWebPart

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

Syntax

'宣告
<SupportsAttributeMarkupAttribute(True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class PageViewerWebPart _
    Inherits WebPart _
    Implements IDesignTimeHtmlProvider
'用途
Dim instance As PageViewerWebPart
[SupportsAttributeMarkupAttribute(true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class PageViewerWebPart : WebPart, 
    IDesignTimeHtmlProvider

備註

使用此 Web 組件網頁組件中納入現有的內容 (例如網站或文件)。此 Web 組件可讓您找出與其餘的網頁組件網頁組件。IFRAME項目可防止干擾同一個頁面上其他 Web 組件執行在 [網頁組件中的指令碼。網頁檢視器IFRAME項目也可讓您顯示包含 < Form > 標記的網頁。最後,此網頁組件可讓您從伺服器要求驗證擷取資料。在此情況下,頁面檢視器網頁組件會從用戶端轉送驗證認證。

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.

請參閱

參照

PageViewerWebPart members

Microsoft.SharePoint.WebPartPages namespace