SoapHelper.GetBooleanFromEncodedString Method
Gets the Boolean value from an encoded string.
Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim value As String
Dim returnValue As Boolean
returnValue = SoapHelper.GetBooleanFromEncodedString(value)
Syntax
'Declaration
Public Shared Function GetBooleanFromEncodedString( _
ByVal value As String _
) As Boolean
public static bool GetBooleanFromEncodedString(
string value
);
public:
static bool GetBooleanFromEncodedString(
String^ value
);
public static boolean GetBooleanFromEncodedString(
System.String value
);
public static function GetBooleanFromEncodedString(
value : String
) : Boolean;
Parameters
- value
Return Value
A boolean from a string.
Remarks
Translates a string to a boolean value. Boolean false is returned for the string value "0" or "false". Boolean true is returned for the string value "1" or "true".
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
SoapHelper Class
SoapHelper Members
Microsoft.Web.Services3 Namespace