Resources.GetString method (String, Object[])

Returns the value of the specified String resource.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Shared Function GetString ( _
    resourceId As String, _
    ParamArray args As Object() _
) As String
'Usage
Dim resourceId As String
Dim args As Object()
Dim returnValue As String

returnValue = Resources.GetString(resourceId, _
    args)
public static string GetString(
    string resourceId,
    params Object[] args
)

Parameters

  • resourceId
    Type: System.String

    The String object that represents the name of the resource to retrieve.

  • args
    Type: []

    An object array that contains zero or more objects that are used to format the string resource to retrieve.

Return value

Type: System.String
String .

Remarks

This method replaces the format item in the specified String resource with the string that represents the corresponding object in the specified array.

See also

Reference

Resources class

Resources members

GetString overload

Microsoft.SharePoint.Client namespace