Bewerken

Share via


XsltConvert.ToBoolean Method

Definition

Converts the specified value to Boolean.

Overloads

ToBoolean(IList<XPathItem>)

This API supports the product infrastructure and is not intended to be used directly from your code.

Converts a specified value to Boolean.

ToBoolean(XPathItem)

This API supports the product infrastructure and is not intended to be used directly from your code.

Converts the specified value to Boolean.

ToBoolean(IList<XPathItem>)

Source:
XsltConvert.cs
Source:
XsltConvert.cs
Source:
XsltConvert.cs

Converts a specified value to Boolean.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static bool ToBoolean(System::Collections::Generic::IList<System::Xml::XPath::XPathItem ^> ^ listItems);
public static bool ToBoolean (System.Collections.Generic.IList<System.Xml.XPath.XPathItem> listItems);
static member ToBoolean : System.Collections.Generic.IList<System.Xml.XPath.XPathItem> -> bool
Public Shared Function ToBoolean (listItems As IList(Of XPathItem)) As Boolean

Parameters

listItems
IList<XPathItem>

A sequence of XPathItem instances.

Returns

A value of type bool.

Applies to

ToBoolean(XPathItem)

Source:
XsltConvert.cs
Source:
XsltConvert.cs
Source:
XsltConvert.cs

Converts the specified value to Boolean.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static bool ToBoolean(System::Xml::XPath::XPathItem ^ item);
public static bool ToBoolean (System.Xml.XPath.XPathItem item);
static member ToBoolean : System.Xml.XPath.XPathItem -> bool
Public Shared Function ToBoolean (item As XPathItem) As Boolean

Parameters

item
XPathItem

An instance of the XPathItem class.

Returns

A value of type bool.

Applies to