Export (0) Print
Expand All

SPMobileComponent.Field Property

Gets or sets the field that is rendered when the SPMobileComponent is a field-rendering control.

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

public virtual SPField Field { get; set; }

Property Value

Type: Microsoft.SharePoint.SPField
An SPField that specifies the field that is rendered when the SPMobileComponent is a field-rendering control.

When SPMobileComponent is not a field-rendering control, Field is usually a null reference (Nothing in Visual Basic), but there is no guarantee of this. If any parent of the SPMobileComponent-derived object in the control hierarchy has a non-null Field value, Field has the same value.

Show:
© 2014 Microsoft