共用方式為


SPUserCodeProperty Class

Represents a custom property for a Web Part in a sandboxed solution.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.WebPartPages.SPUserCodeProperty

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPUserCodeProperty
'Usage
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.

See Also

Reference

SPUserCodeProperty Members

Microsoft.SharePoint.WebPartPages Namespace