SR.GetString 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 a string. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
Overloads
GetString(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. |
GetString(CultureInfo, String) |
Returns the name of the specified String, formatted with respect to the information specified by the |
GetString(String, Object[]) |
Returns the name of the specified String, formatted with respect to the arguments. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. |
GetString(CultureInfo, String, Object[]) |
Returns the name of the specified String, formatted with respect to the specified culture and the specified argument array. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. |
GetString(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::String ^ GetString(System::String ^ name);
public static string GetString (string name);
static member GetString : string -> string
Public Shared Function GetString (name As String) As String
Parameters
Returns
The value of the String referred to by the name
parameter.
See also
Applies to
GetString(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::String ^ GetString(System::Globalization::CultureInfo ^ culture, System::String ^ name);
public static string GetString (System.Globalization.CultureInfo culture, string name);
static member GetString : System.Globalization.CultureInfo * string -> string
Public Shared Function GetString (culture As CultureInfo, name As String) As String
Parameters
- culture
- CultureInfo
A CultureInfo 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.
See also
Applies to
GetString(String, Object[])
Returns the name of the specified String, formatted with respect to the arguments. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
static System::String ^ GetString(System::String ^ name, ... cli::array <System::Object ^> ^ args);
public static string GetString (string name, params object[] args);
static member GetString : string * obj[] -> string
Public Shared Function GetString (name As String, ParamArray args As Object()) As String
Parameters
- args
- Object[]
An array of arguments to be used in formatting the return value.
Returns
The value of the String referred to by the name
parameter, formatted with respect to the arguments listed in the args
parameter.
See also
Applies to
GetString(CultureInfo, String, Object[])
Returns the name of the specified String, formatted with respect to the specified culture and the specified argument array. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
static System::String ^ GetString(System::Globalization::CultureInfo ^ culture, System::String ^ name, ... cli::array <System::Object ^> ^ args);
public static string GetString (System.Globalization.CultureInfo culture, string name, params object[] args);
static member GetString : System.Globalization.CultureInfo * string * obj[] -> string
Public Shared Function GetString (culture As CultureInfo, name As String, ParamArray args As Object()) As String
Parameters
- culture
- CultureInfo
A CultureInfo that contains the relevant cultural information used to format the return value.
- args
- Object[]
An array of arguments to be used in formatting 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 and the arguments referred to by the args
parameter.