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
list
Type: Microsoft.SharePoint.SPListAn SPList object that represents a list on a Web site.
Return value
Type: Microsoft.SharePoint.SPView
The default mobile view, if one has been designated, otherwise the first mobile view.