Share via


WebPartMobilePage.TargetWebPartPageTitle property

NOTE: This API is now obsolete.

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)

Syntax

'Declaration
<ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")> _
Public Property TargetWebPartPageTitle As String
    Get
    Set
'Usage
Dim instance As WebPartMobilePage
Dim value As String

value = instance.TargetWebPartPageTitle

instance.TargetWebPartPageTitle = value
[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")]
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