SR.GetByte 方法
定义
返回一个 8 位无符号整数。Returns an 8-bit unsigned integer. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
重载
| GetByte(String) |
返回指定 String 的名称。Returns the name of the specified String. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. |
| GetByte(CultureInfo, String) |
返回指定的 String 的名称,根据指定的区域性设置名称的格式。Returns the name of the specified String, formatted with respect to the specified culture. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. |
GetByte(String)
返回指定 String 的名称。Returns the name of the specified String. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
static System::Byte GetByte(System::String ^ name);
public static byte GetByte (string name);
static member GetByte : string -> byte
Public Shared Function GetByte (name As String) As Byte
参数
返回
由 name 参数引用的 String 的值。The value of the String referred to by the name parameter.
适用于
GetByte(CultureInfo, String)
返回指定的 String 的名称,根据指定的区域性设置名称的格式。Returns the name of the specified String, formatted with respect to the specified culture. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
static System::Byte GetByte(System::Globalization::CultureInfo ^ culture, System::String ^ name);
public static byte GetByte (System.Globalization.CultureInfo culture, string name);
static member GetByte : System.Globalization.CultureInfo * string -> byte
Public Shared Function GetByte (culture As CultureInfo, name As String) As Byte
参数
- culture
- CultureInfo
一个 CultureInfo,包含用于设置返回值格式的相关区域性信息。A CultureInfo that contains the relevant cultural information used to format the return value.
返回
name 参数引用的 String 的值,根据包含在由 culture 参数引用的 CultureInfo 中的区域性信息设置该值的格式。The value of the String referred to by the name parameter, formatted with respect to the culture information contained in the CultureInfo referred to by the culture parameter.