Share via


Resources.GetString method (String)

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 _
) As String
'Usage
Dim resourceId As String
Dim returnValue As String

returnValue = Resources.GetString(resourceId)
public static string GetString(
    string resourceId
)

Parameters

  • resourceId
    Type: System.String

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

Return value

Type: System.String
String .

Remarks

The value of the resource is localized according to the caller’s current culture settings. If a match is not possible, a null reference is returned.

See also

Reference

Resources class

Resources members

GetString overload

Microsoft.SharePoint.Client namespace