SPVersionedPlaceHolderDesigner.GetDesignTimeHtml Method (DesignerRegionCollection)
Retrieves the HTML used to display the control and populates the collection with the control designer regions.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Overrides Function GetDesignTimeHtml ( _
regions As DesignerRegionCollection _
) As String
'Usage
Dim instance As SPVersionedPlaceHolderDesigner
Dim regions As DesignerRegionCollection
Dim returnValue As String
returnValue = instance.GetDesignTimeHtml(regions)
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public override string GetDesignTimeHtml(
DesignerRegionCollection regions
)
Parameters
regions
Type: System.Web.UI.Design.DesignerRegionCollectionA collection of control designer regions for the control.
Return Value
Type: System.String
The design-time HTML for the associated control and control designer regions.
See Also
Reference
SPVersionedPlaceHolderDesigner Class