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

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

Windows SharePoint Services 3
Gets the ID of the RenderingTemplate template that defines how the field label is rendered.

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 that represents the value of the ID attribute of a RenderingTemplate element in the file MobileDefaultTemplates.ascx, which is located in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES.

If the current page is not the Display form and the field is required, the DefaultTemplateName property returns "MobileRequiredFieldLabel"; otherwise it returns "MobileDefaultFieldLabel".

Afficher: