SPResource.GetString Method (String, Object )
Gets the localized string with the specified 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 ( _
name As String, _
ParamArray values As Object() _
) As String
'Usage
Dim name As String
Dim values As Object()
Dim returnValue As String
returnValue = SPResource.GetString(name, _
values)
public static string GetString(
string name,
params Object[] values
)
Parameters
name
Type: System.StringThe name of the resource.
values
Type: []The values associated with the resource.
Return Value
Type: System.String
The localized string.