SPMobileUtility.GetItemId method
Returns the identifier of the specified data transport item of a mobile Web application.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetItemId ( _
item As SPItem, _
context As SPContext _
) As String
'Usage
Dim item As SPItem
Dim context As SPContext
Dim returnValue As String
returnValue = SPMobileUtility.GetItemId(item, _
context)
public static string GetItemId(
SPItem item,
SPContext context
)
Parameters
item
Type: Microsoft.SharePoint.SPItemAn SPItem object that represents the data transport item of the mobile Web application.
context
Type: Microsoft.SharePoint.SPContextAn SPContext object that represents the context of an HTTP request.
Return value
Type: System.String
A string that contains the item identifier.