ToString Method (Boolean)

XmlConvert.ToString Method (Boolean)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Converts the Boolean to a String.

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public static string ToString(
	bool value
)

Parameters

value
Type: System.Boolean
The value to convert.

Return Value

Type: System.String
A string representation of the Boolean, that is, "true" or "false".

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft