SPMobileUtility.GetItemId method
傳回指定的資料傳輸項目,mobile Web 應用程式的識別項。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function GetItemId ( _
item As SPItem, _
context As SPContext _
) As String
'用途
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
)
參數
item
Type: Microsoft.SharePoint.SPItemSPItem物件,表示資料傳輸 mobile Web 應用程式的項的目。
context
Type: Microsoft.SharePoint.SPContextSPContext物件,表示 HTTP 要求的內容。
傳回值
Type: System.String
字串,包含項目識別項。