SPMobileUtility.GetMobileConfigValueAsInt method
傳回指定的 mobile Web 應用程式的組態值的整數版本。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function GetMobileConfigValueAsInt ( _
web As SPWeb, _
key As String _
) As Integer
'用途
Dim web As SPWeb
Dim key As String
Dim returnValue As Integer
returnValue = SPMobileUtility.GetMobileConfigValueAsInt(web, _
key)
public static int GetMobileConfigValueAsInt(
SPWeb web,
string key
)
參數
web
Type: Microsoft.SharePoint.SPWebSPWeb物件,表示 Web 應用程式。
key
Type: System.String字串,包含組態機碼。
傳回值
Type: System.Int32
整數,表示組態值。