SPMobileAttachmentsField.CreateControlForDisplay Method

Creates a control for rendering the attachments on a Display item form.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Overrides Function CreateControlForDisplay As MobileControl
'Usage
Dim returnValue As MobileControl

returnValue = Me.CreateControlForDisplay()
protected override MobileControl CreateControlForDisplay()

Return Value

Type: System.Web.UI.MobileControls.MobileControl
A MobileControl that renders the field on a Display form.

Remarks

The control that is returned separates each attachment with a separator, and if the maximum number of controls has been exceeded adds an ellipsis.

See Also

Reference

SPMobileAttachmentsField Class

SPMobileAttachmentsField Members

Microsoft.SharePoint.MobileControls Namespace