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)
Available in Sandboxed Solutions: No
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.