共用方式為


SPUserCodeProperty class

代表在沙箱化解決方案中的網頁組件的自訂屬性。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.WebPartPages.SPUserCodeProperty

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

Syntax

'宣告
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPUserCodeProperty
'用途
Dim instance As SPUserCodeProperty
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPUserCodeProperty

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.

請參閱

參照

SPUserCodeProperty members

Microsoft.SharePoint.WebPartPages namespace