CreationType.Render Method

Renders a link to a page giving details about the e-mail message that created the current list item.

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

Syntax

'Declaration
Protected Overrides Sub Render ( _
    output As HtmlTextWriter _
)
'Usage
Dim output As HtmlTextWriter

Me.Render(output)
protected override void Render(
    HtmlTextWriter output
)

Parameters

Remarks

This override checks SPBuiltInFieldId.EmailSender to see if the current list item was created by e-mail. If the latter is not a null reference (Nothing in Visual Basic) or an empty string, the override render a link that has link text "from e-mail" and has the URL with the following form:

webURL/_layouts/EmailDetails.aspx?List=ListID&Item=ItemId

This can be used to render a portion of a creation information line such as “Created from e-mail at 4/29/2008 2:39 PM by Eiji Yasuda”, where the text “from e-mail” is the CreationType control.

See Also

Reference

CreationType Class

CreationType Members

Microsoft.SharePoint.WebControls Namespace