SPMobileCompositeField.DefaultTemplateName Property
Gets the ID of the RenderingTemplate.
Namespace: Microsoft.SharePoint.MobileControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property DefaultTemplateName As String
Get
'Usage
Dim instance As SPMobileCompositeField
Dim value As String
value = instance.DefaultTemplateName
public override string DefaultTemplateName { get; }
Property Value
Type: System.String
A String representing the value of the ID attribute of a RenderingTemplate element in the file MobileDefaultTemplates.ascx or GbwMobileDefaultTemplates.ascx located in %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\CONTROLTEMPLATES.
Remarks
If the current page is not the Display form and the field is a lookup field that allows multiple values in the field for each list item, the DefaultTemplateName property returns "MobileMultiValueCompositeField"; otherwise, it returns "MobileCompositeField".