共用方式為


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
)

參數

傳回值

Type: System.Int32
整數,表示組態值。

請參閱

參照

SPMobileUtility class

SPMobileUtility members

Microsoft.SharePoint.Utilities namespace