Share via


SPMobileUtility.IsValidField method

Returns a Boolean value that indicates whether the specified field is valid.

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

Syntax

'Declaration
Public Shared Function IsValidField ( _
    item As SPItem, _
    fieldName As String _
) As Boolean
'Usage
Dim item As SPItem
Dim fieldName As String
Dim returnValue As Boolean

returnValue = SPMobileUtility.IsValidField(item, _
    fieldName)
public static bool IsValidField(
    SPItem item,
    string fieldName
)

Parameters

  • fieldName
    Type: System.String

    A string that contains the name of the field.

Return value

Type: System.Boolean
true if the field is valid; otherwise, false.

See also

Reference

SPMobileUtility class

SPMobileUtility members

Microsoft.SharePoint.Utilities namespace