共用方式為


SPMobileComponent.FieldControlCollection Property

Gets the collection of fields for the list when SPMobileComponent represents a list item.

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

Syntax

'Declaration
Public Overridable ReadOnly Property FieldControlCollection As ArrayList
    Get
'Usage
Dim instance As SPMobileComponent
Dim value As ArrayList

value = instance.FieldControlCollection
public virtual ArrayList FieldControlCollection { get; }

Property Value

Type: System.Collections.ArrayList
An ArrayList of all the list's field controls when SPMobileComponent represents a list item.

Remarks

The default implementation returns the FieldControlCollection property of the FormContext property of SharePointContext. Use SPMobileComponent.FieldControlCollection instead of Microsoft.SharePoint.MobileControls.SPMobileComponent.SharePointContext.FormContext.FieldControlCollection to simplify your code. Do not override SPMobileComponent.FieldControlCollection or you create a chance that its value will be inconsistent with the value of Microsoft.SharePoint.MobileControls.SPMobileComponent.SharePointContext.FormContext.FieldControlCollection.

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace