Partilhar via


DelegateControl.AllowMultipleControls Property

Gets or sets a Boolean value that specifies whether to add all child candidate controls to the page at runtime.

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

Syntax

'Declaration
Public Property AllowMultipleControls As Boolean
    Get
    Set
'Usage
Dim instance As DelegateControl
Dim value As Boolean

value = instance.AllowMultipleControls

instance.AllowMultipleControls = value
public bool AllowMultipleControls { get; set; }

Property Value

Type: System.Boolean
true to add all child candidate controls to the page at runtime; otherwise, false.

Remarks

Child controls are added to the page in the order specified by the Sequence attribute of the Control element in the delegate control Feature.

See Also

Reference

DelegateControl Class

DelegateControl Members

Microsoft.SharePoint.WebControls Namespace