SPResource.GetString Method (CultureInfo, String, Object )
Gets the localized string with the specified culture, name, and values.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Shared Function GetString ( _
culture As CultureInfo, _
name As String, _
ParamArray values As Object() _
) As String
'Usage
Dim culture As CultureInfo
Dim name As String
Dim values As Object()
Dim returnValue As String
returnValue = SPResource.GetString(culture, _
name, values)
public static string GetString(
CultureInfo culture,
string name,
params Object[] values
)
Parameters
culture
Type: System.Globalization.CultureInfoThe culture for the resource.
name
Type: System.StringThe name of the resource.
values
Type: []The values associated with the resource.
Return Value
Type: System.String
The localized string.