WebPartMobilePage.TargetWebPartPageTitle Property

Gets the title of the regular; that is, non-mobile; WebPartPage that corresponds to the mobile page that the WebPartMobilePage object represents.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property TargetWebPartPageTitle As String
    Get
    Set
'Usage
Dim instance As WebPartMobilePage
Dim value As String

value = instance.TargetWebPartPageTitle

instance.TargetWebPartPageTitle = value
public string TargetWebPartPageTitle { get; set; }

Property Value

Type: System.String
The title of the corresponding non-mobile page.

Remarks

For example, //server/_layouts/mobile/mblwp.aspx is the mobile home page of team sites. It is represented in the object model with a class that derives from WebPartMobilePage. The corresponding non-mobile page is a team site home page such as //server/default.aspx. Since the title of the latter is “Team Site”, that is the value of the TargetWebPartPageTitle property for mblwp.aspx.

See Also

Reference

WebPartMobilePage Class

WebPartMobilePage Members

Microsoft.SharePoint.WebPartPages Namespace