IServerDocumentDesigner.AddControlToZone Method (Control, String, Boolean)
Namespace: Microsoft.Web.Design.Server
Assembly: Microsoft.Web.Design.Server (in Microsoft.Web.Design.Server.dll)
Syntax
'Declaration
Function AddControlToZone ( _
control As Control, _
zoneId As String, _
forceUseDesigner As Boolean _
) As IServerElementDesigner
'Usage
Dim instance As IServerDocumentDesigner
Dim control As Control
Dim zoneId As String
Dim forceUseDesigner As Boolean
Dim returnValue As IServerElementDesigner
returnValue = instance.AddControlToZone(control, _
zoneId, forceUseDesigner)
IServerElementDesigner AddControlToZone(
Control control,
string zoneId,
bool forceUseDesigner
)
Parameters
- control
Type: System.Web.UI.Control
- zoneId
Type: System.String
- forceUseDesigner
Type: System.Boolean
Return Value
Type: Microsoft.Web.Design.Server.IServerElementDesigner
See Also
Reference
IServerDocumentDesigner Interface