SPMobileItemFieldIterator.IsVisibleField, méthode (Microsoft.SharePoint.MobileControls)

Gets a value that indicates whether the specified SPField is visible on the current mobile form or mobile list view page.

Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

Syntaxe

'Déclaration
Protected Overridable Function IsVisibleField ( _
    field As SPField _
) As Boolean
'Utilisation
Dim field As SPField
Dim returnValue As Boolean

returnValue = Me.IsVisibleField(field)
protected virtual bool IsVisibleField (
    SPField field
)

Paramètres

  • field
    The SPField whose visibility is reported.

Valeur retournée

Returns true if the field is visible on the current form or page; otherwise, false.

Notes

In Windows SharePoint Services 3.0, several conditions can cause a field to be invisible on a form or page, such as Hidden being true or the field type being Calculated.

The visibility of the field is partly relative to the page type. For example, if ShowInEditForm is false, IsVisibleField is false when the current page is an Edit form. Similar points apply to the ShowInNewForm and ShowInDisplayForm properties.

Voir aussi

Référence

SPMobileItemFieldIterator, classe
Membres SPMobileItemFieldIterator
Microsoft.SharePoint.MobileControls, espace de noms