Share via


WebPartMobilePageNavigation.GenerateUrl method

NOTE: This API is now obsolete.

Generates and returns the URL of either the detailed view page or the summary view page for the selected Web Part, based on the value of the LinkToDetailView property.

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.")> _
Protected Overrides Function GenerateUrl As String
'Usage
Dim returnValue As String

returnValue = Me.GenerateUrl()
[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.")]
protected override string GenerateUrl()

Return value

Type: System.String
The URL of either the summary view page or the detailed view page of the selected Web Part.

See also

Reference

WebPartMobilePageNavigation class

WebPartMobilePageNavigation members

Microsoft.SharePoint.WebPartPages namespace