Share via


SoapHelper.GetEncodedStringFromBoolean Method

Gets the string equivalent of the Boolean value.

Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim value As Boolean
Dim returnValue As String
returnValue = SoapHelper.GetEncodedStringFromBoolean(value)

Syntax

'Declaration
Public Shared Function GetEncodedStringFromBoolean( _
    ByVal value As Boolean _
) As String
public static string GetEncodedStringFromBoolean(
    bool value
);
public:
static String^ GetEncodedStringFromBoolean(
    bool value
);
public static System.String GetEncodedStringFromBoolean(
    boolean value
);
public static function GetEncodedStringFromBoolean(
     value : Boolean
) : String;

Parameters

  • value

Return Value

A string equivalent of the Boolean value.

Remarks

Translates a Boolean value to a string. String "false" is returned for the Boolean value false. String "true" is returned for the Boolean value 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