MdsCompliantAttribute class

SharePoint 2013

Indicates whether the script, style, and field registrations of a class are compliant with the Minimal Download Strategy (MDS) framework.

System.Object
  System.Attribute
    Microsoft.SharePoint.WebControls.MdsCompliantAttribute

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

'Declaration
<AttributeUsageAttribute(AttributeTargets.Assembly Or AttributeTargets.Class)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class MdsCompliantAttribute _
	Inherits Attribute
'Usage
Dim instance As MdsCompliantAttribute

This custom attribute class should only be applied when all registrations—such as scripts and styles—are performed through the SPPageContentManager class methods. All controls that render inside an AjaxDelta control must either have this attribute or be in a whitelisted assembly for which all controls are compliant.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: