Share via


SPForm.TemplateName property

Gets the name of a predefined control template for the form.

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

Syntax

'Declaration
Public ReadOnly Property TemplateName As String
    Get
'Usage
Dim instance As SPForm
Dim value As String

value = instance.TemplateName
public string TemplateName { get; }

Property value

Type: System.String
A string containing the name of the control template.

See also

Reference

SPForm class

SPForm members

Microsoft.SharePoint namespace