Share via


WebProperty Class

NOTE: This API is now obsolete.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.Portal.WebControls.WebProperty

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("This control is obsolete.  Please use SharePoint:ProjectProperty instead.")> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class WebProperty _
    Inherits Control _
    Implements IDesignTimeHtmlProvider
'Usage
Dim instance As WebProperty
[ObsoleteAttribute("This control is obsolete.  Please use SharePoint:ProjectProperty instead.")]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class WebProperty : Control, 
    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

WebProperty Members

Microsoft.SharePoint.Portal.WebControls Namespace