SR.GetObject Method (CultureInfo, String)


Returns the name of the specified String, formatted with respect to the information specified by the culture parameter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the Web site.

Namespace:   System.Web.UI.MobileControls.Adapters
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public static object GetObject(
	CultureInfo culture,
	string name


Type: System.Globalization.CultureInfo

A CultureInfo object that contains the relevant cultural information used to format the return value.

Type: System.String

The name of the String object to be returned.

Return Value

Type: System.Object

The value of the String referred to by the name parameter, formatted with respect to the culture information contained in the CultureInfo object referred to by the culture parameter.

.NET Framework
Available since 1.1
Return to top