編輯

共用方式為


XsltConvert.ToDouble Method

Definition

Converts the specified value to double.

Overloads

ToDouble(String)

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

Converts a specified value to double.

ToDouble(Int64)

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

Converts the specified value to double.

ToDouble(XPathItem)

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

Converts a specified value to double.

ToDouble(Decimal)

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

Converts the specified value to double.

ToDouble(IList<XPathItem>)

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

Converts a specified value to double.

ToDouble(Int32)

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

Converts the specified value to double.

ToDouble(String)

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

Converts a specified value to double.

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

public:
 static double ToDouble(System::String ^ value);
public static double ToDouble (string value);
static member ToDouble : string -> double
Public Shared Function ToDouble (value As String) As Double

Parameters

value
String

A value of type string.

Returns

A value of type double.

Applies to

ToDouble(Int64)

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

Converts the specified value to double.

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

public:
 static double ToDouble(long value);
public static double ToDouble (long value);
static member ToDouble : int64 -> double
Public Shared Function ToDouble (value As Long) As Double

Parameters

value
Int64

A value of type Int64.

Returns

A value of type double.

Applies to

ToDouble(XPathItem)

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

Converts a specified value to double.

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

public:
 static double ToDouble(System::Xml::XPath::XPathItem ^ item);
public static double ToDouble (System.Xml.XPath.XPathItem item);
static member ToDouble : System.Xml.XPath.XPathItem -> double
Public Shared Function ToDouble (item As XPathItem) As Double

Parameters

item
XPathItem

An instance of the XPathItem class.

Returns

A value of type double.

Applies to

ToDouble(Decimal)

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

Converts the specified value to double.

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

public:
 static double ToDouble(System::Decimal value);
public static double ToDouble (decimal value);
static member ToDouble : decimal -> double
Public Shared Function ToDouble (value As Decimal) As Double

Parameters

value
Decimal

A value of type decimal.

Returns

A value of type double.

Applies to

ToDouble(IList<XPathItem>)

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

Converts a specified value to double.

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

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

Parameters

listItems
IList<XPathItem>

A sequence of XPathItem instances.

Returns

A value of type double.

Applies to

ToDouble(Int32)

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

Converts the specified value to double.

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

public:
 static double ToDouble(int value);
public static double ToDouble (int value);
static member ToDouble : int -> double
Public Shared Function ToDouble (value As Integer) As Double

Parameters

value
Int32

A value of type int.

Returns

A value of type double.

Applies to