Επεξεργασία

Κοινή χρήση μέσω


SR.GetBoolean Method

Definition

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

Overloads

GetBoolean(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.

GetBoolean(CultureInfo, String)

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

GetBoolean(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 bool GetBoolean(System::String ^ name);
public static bool GetBoolean (string name);
static member GetBoolean : string -> bool
Public Shared Function GetBoolean (name As String) As Boolean

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

GetBoolean(CultureInfo, String)

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

public:
 static bool GetBoolean(System::Globalization::CultureInfo ^ culture, System::String ^ name);
public static bool GetBoolean (System.Globalization.CultureInfo culture, string name);
static member GetBoolean : System.Globalization.CultureInfo * string -> bool
Public Shared Function GetBoolean (culture As CultureInfo, name As String) As Boolean

Parameters

culture
CultureInfo

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

name
String

The name of the String 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 referred to by the culture parameter.

See also

Applies to