SPPageParserFilter.NumberOfControlsAllowed Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

This member overrides PageParserFilter.NumberOfControlsAllowed.

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

Syntax

Public Overrides ReadOnly Property NumberOfControlsAllowed As Integer
    Get

Dim instance As SPPageParserFilter
Dim value As Integer

value = instance.NumberOfControlsAllowed
public override int NumberOfControlsAllowed { get; }

Property Value

Type: System.Int32
The maximum number of controls a parser filter can parse for a page. The default value is zero, which indicates no limit.

Exceptions

Exception Condition
HttpException

The number of controls parsed for a page exceeds the limit set by the associated SPPageParserFilter object.

See Also

Reference

SPPageParserFilter Class

SPPageParserFilter Members

Microsoft.SharePoint.ApplicationRuntime Namespace