共用方式為


SPMobileTemplateSelector.DefaultPrefix Property

Gets the default first part of a segmented ID of a RenderingTemplate template.

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

Syntax

'Declaration
Public Overridable ReadOnly Property DefaultPrefix As String
    Get
'Usage
Dim instance As SPMobileTemplateSelector
Dim value As String

value = instance.DefaultPrefix
public virtual string DefaultPrefix { get; }

Property Value

Type: System.String
A String that represents the default first segment of a segmented RenderingTemplate ID.

Remarks

The default implementation returns "Mobile".

This property is used only if Prefix is not set.

See Also

Reference

SPMobileTemplateSelector Class

SPMobileTemplateSelector Members

Microsoft.SharePoint.MobileControls Namespace