SPUserResource.GetValueForUICulture method

Returns the value of the resource for the specified culture.

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

public string GetValueForUICulture(
	CultureInfo cultureInfo
)

Parameters

cultureInfo
Type: System.Globalization.CultureInfo

An object that provides information about a culture.

Return value

Type: System.String
A string that contains the value of the resource for the culture.

ExceptionCondition
ArgumentNullException

cultureInfo is null .

This method returns the value for the website's default culture if a value for the requested culture does not exist.

Show: