共用方式為


WebPartPreview class

提供 Web 組件網頁組件目錄中的預覽。

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.WebPartPages.WebPartPreview

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

Syntax

'宣告
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Public NotInheritable Class WebPartPreview _
    Inherits Control
'用途
Dim instance As WebPartPreview
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
public sealed class WebPartPreview : Control

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.

請參閱

參照

WebPartPreview members

Microsoft.SharePoint.WebPartPages namespace