Share via


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)

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

  • values
    Type: []

    The values associated with the resource.

Return value

Type: System.String
The localized string.

See also

Reference

SPResource class

SPResource members

GetString overload

Microsoft.SharePoint namespace