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 an integer version of the configuration value for the specified mobile Web application.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.