Share via


Resources.GetString Method (String)

Returns the value of the specified String resource.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  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