共用方式為


XsltConvert.ToString 方法

定義

將指定的值轉換成字串。

多載

ToString(Double)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

將指定的值轉換成字串。

ToString(IList<XPathItem>)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

將項目轉換為字串。

ToString(DateTime)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

將指定的值轉換成字串。

ToString(XPathItem)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

將指定的值轉換成字串。

ToString(Double)

將指定的值轉換成字串。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

value
Double

型別 double 的值。

傳回

String

型別 string 的值。

適用於

ToString(IList<XPathItem>)

將項目轉換為字串。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

listItems
IList<XPathItem>

XPathItem 執行個體的序列。

傳回

String

型別 string 的值。

適用於

ToString(DateTime)

將指定的值轉換成字串。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 static System::String ^ ToString(DateTime value);
public static string ToString (DateTime value);
static member ToString : DateTime -> string
Public Shared Function ToString (value As DateTime) As String

參數

value
DateTime

型別 DateTime 的值。

傳回

String

型別 string 的值。

適用於

ToString(XPathItem)

將指定的值轉換成字串。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 static System::String ^ ToString(System::Xml::XPath::XPathItem ^ item);
public static string ToString (System.Xml.XPath.XPathItem item);
static member ToString : System.Xml.XPath.XPathItem -> string
Public Shared Function ToString (item As XPathItem) As String

參數

item
XPathItem

XPathItem 類別的執行個體。

傳回

String

型別 string 的值。

適用於