Compartilhar via


Propriedade SPMobileWebContents.Suffix

Gets the part of the <RenderingTemplate> ID that follows the site type name (or ID number).

Espaço para nome Microsoft.SharePoint.MobileControls
Conjunto de Módulos (Assembly) Microsoft.SharePoint (em microsoft.sharepoint.dll)

A sintaxe

<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
Public Overrides ReadOnly Property Suffix As String
Dim instance As SPMobileWebContents
Dim value As String

value = instance.Suffix
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)] 
public override string Suffix { get; }

A propriedade Value

A String that represents the portion of the <RenderingTemplate> ID that follows the name (or ID number) of the type of site and the ElementSeparator character (an underscore, by default).

Comentários

Suffix retorna ** PageType _Contents, onde PageType é o tipo de página, such as homepage ou NewForm.The "Contents" indicates that <RenderingTemplate> applies to the main contents part of the page.

No entanto, em Windows SharePoint Services 3.0, SPMobileWebContents é usado somente quando o tipo página é homepage, portanto, SuffixHomePage_Contents sempre retorna.

Você não deve usar SPMobileWebContents no seu próprio codificar.

Consulte também

Tarefas

Walkthrough: Personalizar uma página Mobile Início

Referência

SPMobileWebContents De classe
SPMobileWebContents Membros
Microsoft.SharePoint.MobileControls De espaço para nome