Share via


AttachmentsField.DisplayTemplateName property

Gets or sets the name of the template that controls the rendering of the BaseFieldControl object in display mode; that is, when it is not on a New or Edit form.

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

Syntax

'Declaration
Public Overrides ReadOnly Property DisplayTemplateName As String
    Get
'Usage
Dim instance As AttachmentsField
Dim value As String

value = instance.DisplayTemplateName
public override string DisplayTemplateName { get; }

Property value

Type: System.String
A String that names a rendering template.

Remarks

This override returns "AttachmentsField", which is the value of the ID attribute of a <RenderingTemplate> element in the DefaultTemplates.ascx file.

See also

Reference

AttachmentsField class

AttachmentsField members

Microsoft.SharePoint.WebControls namespace