Share via


CustomCSSResourceElement Class

NOTE: This API is now obsolete.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.Portal.WebControls.ExternalHtmlResourceElement
      Microsoft.SharePoint.Portal.WebControls.CustomCSSResourceElement

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

Syntax

'Declaration
<ObsoleteAttribute("This control is obsolete.")> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class CustomCSSResourceElement _
    Inherits ExternalHtmlResourceElement
'Usage
Dim instance As CustomCSSResourceElement
[ObsoleteAttribute("This control is obsolete.")]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class CustomCSSResourceElement : ExternalHtmlResourceElement

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

CustomCSSResourceElement Members

Microsoft.SharePoint.Portal.WebControls Namespace