Share via


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

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.

See also

Reference

SPMobileUtility class

SPMobileUtility members

Microsoft.SharePoint.Utilities namespace