Udostępnij za pośrednictwem


SPMobileListField Class

Renders the value of a particular field (column) in a particular row, either as a simple label control or, depending on the field type and page type, as a UI element.

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.SPMobileListField

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 NotInheritable Class SPMobileListField _
    Inherits SPMobileBaseFieldControl
'Usage
Dim instance As SPMobileListField
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPMobileListField : SPMobileBaseFieldControl

Remarks

For example, if the field type is multichoice, the field renders as a drop-down list box selection. If the field type is text, the field renders as a label.

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

SPMobileListField Members

Microsoft.SharePoint.MobileControls Namespace