Share via


SPMobileUtility.GetFirstMobileView method

NOTE: This API is now obsolete.

Returns the first view in the specified list that applies to a mobile device.

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

Syntax

'Declaration
<ObsoleteAttribute("Do not use this method since it is deprecated.")> _
Public Shared Function GetFirstMobileView ( _
    list As SPList _
) As SPView
'Usage
Dim list As SPList
Dim returnValue As SPView

returnValue = SPMobileUtility.GetFirstMobileView(list)
[ObsoleteAttribute("Do not use this method since it is deprecated.")]
public static SPView GetFirstMobileView(
    SPList list
)

Parameters

Return value

Type: Microsoft.SharePoint.SPView
An SPView object that represents a 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