Freigeben über


SPMobileUtility.GetMobileConfigValueAsInt-Methode

Gibt eine ganze Zahl Version der Konfigurationswert für das angegebene mobile Webanwendung zurück.

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
)

Parameter

  • key
    Typ: System.String

    Eine Zeichenfolge, die den Konfigurationsschlüssel enthält.

Rückgabewert

Typ: System.Int32
Eine ganze Zahl, die den Konfigurationswert darstellt.

Siehe auch

Referenz

SPMobileUtility Klasse

SPMobileUtility-Member

Microsoft.SharePoint.Utilities-Namespace