Cette documentation est archivée et n’est pas conservée.

SPMobileCompositeField.DefaultTemplateName, propriété (Microsoft.SharePoint.MobileControls)

Windows SharePoint Services 3
Gets the ID of the RenderingTemplate.

Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

public override string DefaultTemplateName { get; }

Valeur de la propriété

A String representing the value of the ID attribute of a RenderingTemplate element in the file MobileDefaultTemplates.ascx located in C:\\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES.

If the current page is 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".

Afficher: