SPFieldLookup.FieldRenderingMobileControl property

NOTE: This API is now obsolete.

Gets the mobile control that is used to render the field on a form page.

Namespace:  Microsoft.SharePoint
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 Overrides ReadOnly Property FieldRenderingMobileControl As SPMobileBaseFieldControl
    Get
'Usage
Dim instance As SPFieldLookup
Dim value As SPMobileBaseFieldControl

value = instance.FieldRenderingMobileControl
[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 override SPMobileBaseFieldControl FieldRenderingMobileControl { get; }

Property value

Type: Microsoft.SharePoint.MobileControls.SPMobileBaseFieldControl
An Microsoft.SharePoint.MobileControls.SPMobileBaseFieldControl object that represents the mobile control.

Remarks

If the AllowMultipleValues property returns true, the object that is returned is type SPMobileMultipleLookupField. Otherwise, the object that is returned is type SPMobileLookupField.

See also

Reference

SPFieldLookup class

SPFieldLookup members

Microsoft.SharePoint namespace