SPMobileLinkNavigation.CreateLinkControl Method

Sets the properties of the child Link or Label control.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

Protected Overridable Function CreateLinkControl As MobileControl

Dim returnValue As MobileControl

returnValue = Me.CreateLinkControl()
protected virtual MobileControl CreateLinkControl()

Return Value

Type: System.Web.UI.MobileControls.MobileControl
A MobileControl, specifically, a Link or a Label; that has had its properties set to provide the functionality of the SPMobileLinkNavigation.

Remarks

With the default implementation, if Url is an empty string or null, then a Label with the text of the SPMobileLinkNavigation is returned; otherwise a Link to Url is returned.

See Also

Reference

SPMobileLinkNavigation Class

SPMobileLinkNavigation Members

Microsoft.SharePoint.MobileControls Namespace