SR.GetObject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
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
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.
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.