Utility.GetLocalizedString - Méthode
Espace de noms : Microsoft.SharePoint.Client.Utilities
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Shared Function GetLocalizedString ( _
context As ClientRuntimeContext, _
source As String, _
defaultResourceFile As String, _
language As Integer _
) As ClientResult(Of String)
'Utilisation
Dim context As ClientRuntimeContext
Dim source As String
Dim defaultResourceFile As String
Dim language As Integer
Dim returnValue As ClientResult(Of String)
returnValue = Utility.GetLocalizedString(context, _
source, defaultResourceFile, language)
public static ClientResult<string> GetLocalizedString(
ClientRuntimeContext context,
string source,
string defaultResourceFile,
int language
)
Paramètres
- context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
- source
Type : System.String
- defaultResourceFile
Type : System.String
- language
Type : System.Int32
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ClientResult<String>