SPMobileUtility.GetMobileDefaultView method
NOTE: This API is now obsolete.
Returns the default view for an item in the specified list that applies to a mobile device.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use SPList.MobileDefaultView instead.")> _
Public Shared Function GetMobileDefaultView ( _
list As SPList _
) As SPView
'Usage
Dim list As SPList
Dim returnValue As SPView
returnValue = SPMobileUtility.GetMobileDefaultView(list)
[ObsoleteAttribute("Use SPList.MobileDefaultView instead.")]
public static SPView GetMobileDefaultView(
SPList list
)
Parameters
list
Type: Microsoft.SharePoint.SPListAn SPList object that represents a list on a site.
Return value
Type: Microsoft.SharePoint.SPView
An SPView object that represents the default view of the data contained in the list that applies to a mobile device.