Redigera

Dela via


SR.GetObject Method

Definition

Returns an object. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

GetObject(String)

Returns the name of the specified String. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

GetObject(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 Mobile Apps & Sites with ASP.NET.

GetObject(String)

Returns the name of the specified String. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 static System::Object ^ GetObject(System::String ^ name);
public static object GetObject (string name);
static member GetObject : string -> obj
Public Shared Function GetObject (name As String) As Object

Parameters

name
String

The name of the String to be returned.

Returns

The value of the String referred to by the name parameter.

See also

Applies to

GetObject(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 Mobile Apps & Sites with ASP.NET.

public:
 static System::Object ^ GetObject(System::Globalization::CultureInfo ^ culture, System::String ^ name);
public static object GetObject (System.Globalization.CultureInfo culture, string name);
static member GetObject : System.Globalization.CultureInfo * string -> obj
Public Shared Function GetObject (culture As CultureInfo, name As String) As Object

Parameters

culture
CultureInfo

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

name
String

The name of the String object to be returned.

Returns

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.

See also

Applies to