Compartilhar via


SPMobileLookupField Class

Renders, on a mobile page, a lookup field in a manner that is appropriate to the type of page, such as New, Edit, or Display.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.MobileControls.MobileControl
      Microsoft.SharePoint.MobileControls.SPMobileComponent
        Microsoft.SharePoint.MobileControls.SPMobileFieldMetaData
          Microsoft.SharePoint.MobileControls.SPMobileBaseFieldControl
            Microsoft.SharePoint.MobileControls.SPMobileBaseChoiceField
              Microsoft.SharePoint.MobileControls.SPMobileChoiceField
                Microsoft.SharePoint.MobileControls.SPMobileLookupField
                  Microsoft.SharePoint.MobileControls.SPMobileMultipleLookupField
                  Microsoft.SharePoint.MobileControls.SPMobileUserField

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class SPMobileLookupField _
    Inherits SPMobileChoiceField
'Usage
Dim instance As SPMobileLookupField
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class SPMobileLookupField : SPMobileChoiceField

Remarks

A lookup field is a choice field in which the options are values from a field (column) on some other list.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPMobileLookupField Members

Microsoft.SharePoint.MobileControls Namespace