Partilhar via


MediaWebPart.GetDesignTimeHtml Method

Gets the HTML markup that is used to represent the control at design time.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetDesignTimeHtml As String
'Usage
Dim instance As MediaWebPart
Dim returnValue As String

returnValue = instance.GetDesignTimeHtml()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public string GetDesignTimeHtml()

Return Value

Type: System.String
Returns String.

Implements

IDesignTimeHtmlProvider.GetDesignTimeHtml()

See Also

Reference

MediaWebPart Class

MediaWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace