MediaFieldControl.RenderFieldForDisplay Method
Renders a Media field for displaying media data.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "Minimal")> _
Protected Overrides Sub RenderFieldForDisplay ( _
output As HtmlTextWriter _
)
'Usage
Dim output As HtmlTextWriter
Me.RenderFieldForDisplay(output)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "Minimal")]
protected override void RenderFieldForDisplay(
HtmlTextWriter output
)
Parameters
output
Type: System.Web.UI.HtmlTextWriterServer control output stream to write data to.
Remarks
The HtmlTextWriter writes markup characters and text to a server control output stream. This class provides formatting capabilities that server controls use when rendering markup to clients.