Share via


SPMobileUtility.GetValidMobileView method

NOTE: This API is now obsolete.

Returns the next valid mobile view for the specified list.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPMobileUtility.GetMobileViewFromList instead.")> _
Public Shared Function GetValidMobileView ( _
    list As SPList _
) As SPView
'Usage
Dim list As SPList
Dim returnValue As SPView

returnValue = SPMobileUtility.GetValidMobileView(list)
[ObsoleteAttribute("Use SPMobileUtility.GetMobileViewFromList instead.")]
public static SPView GetValidMobileView(
    SPList list
)

Parameters

Return value

Type: Microsoft.SharePoint.SPView
The default mobile view, if one has been designated, otherwise the first mobile view.

See also

Reference

SPMobileUtility class

SPMobileUtility members

Microsoft.SharePoint.Utilities namespace