SPMobileUtility.GetMobileConfigValueAsInt method
Returns an integer version of the configuration value for the specified mobile Web application.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetMobileConfigValueAsInt ( _
web As SPWeb, _
key As String _
) As Integer
'Usage
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
)
Parameters
web
Type: Microsoft.SharePoint.SPWebAn SPWeb object that represents a Web application.
key
Type: System.StringA string that contains the configuration key.
Return value
Type: System.Int32
An integer that represents the configuration value.