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


Protected Overrides Sub Render ( _
    output As HtmlTextWriter _
Dim output As HtmlTextWriter

protected override void Render(
    HtmlTextWriter output



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:


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


CreationType Class

CreationType Members

Microsoft.SharePoint.WebControls Namespace