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

  • key
    Type: System.String

    A string that contains the configuration key.

Return value

Type: System.Int32
An integer that represents the configuration value.

See also

Reference

SPMobileUtility class

SPMobileUtility members

Microsoft.SharePoint.Utilities namespace