SPMobileTemplateSelector.DefaultTemplateName Property

Gets the ID of the RenderingTemplate template that is used if the RenderingTemplate template identified by TemplateName cannot be found in any .ascx file in %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\CONTROLTEMPLATES.

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 SPMobileTemplateSelector
Dim value As String

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

Property Value

Type: System.String
A String that represents the ID of a RenderingTemplate template.

Remarks

The default implementation returns a string of the form Prefix_Default_Suffix, where Prefix is the value of Prefix and Suffix is the value of Suffix.

See Also

Reference

SPMobileTemplateSelector Class

SPMobileTemplateSelector Members

Microsoft.SharePoint.MobileControls Namespace