Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Available in Sandboxed Solutions: No
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.